/* ==========================================================================
   Vauquelin Charpente — Design system v2
   ========================================================================== */

:root {
  --ivory: #FAF8F4;
  --beige: #F0EBE3;
  --beige-dark: #E4DDD2;
  --navy: #1A2332;
  --navy-soft: #243044;
  --gold: #B8954A;
  --gold-light: #D4B876;
  --wood: #8B7355;
  --text: #1A2332;
  --text-muted: #5C6570;
  --text-light: rgba(250, 248, 244, 0.85);
  --line: rgba(26, 35, 50, 0.1);
  --wrap: 1280px;
  --narrow: 720px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }

em { font-style: italic; color: var(--gold); }

.wrap {
  width: min(var(--wrap), 100% - 2.5rem);
  margin-inline: auto;
}

.narrow { width: min(var(--narrow), 100% - 2.5rem); margin-inline: auto; }

/* ---- Utilities ---- */
.eyebrow {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.eyebrow--gold { color: var(--gold-light); }

.text-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--gold);
  border-bottom: 1px solid rgba(184, 149, 74, 0.35);
  transition: color 0.2s;
}
.text-link:hover { color: var(--navy); }

.req { color: var(--gold); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: Manrope, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.btn--gold:hover { background: var(--gold-light); }

.btn--outline {
  background: transparent;
  border-color: var(--line);
  color: var(--navy);
}
.btn--outline:hover { border-color: var(--navy); }

.btn--outline-light {
  background: transparent;
  border-color: rgba(250, 248, 244, 0.35);
  color: var(--ivory);
}
.btn--outline-light:hover { border-color: var(--ivory); }

.btn--ghost-light {
  background: rgba(250, 248, 244, 0.1);
  border-color: rgba(250, 248, 244, 0.25);
  color: var(--ivory);
}
.btn--ghost-light:hover { background: rgba(250, 248, 244, 0.18); }

.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.8125rem; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.brand { display: flex; flex-direction: column; gap: 0.1rem; }

.brand__name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.brand__tag {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav { display: flex; gap: 0.25rem; }

.nav__link {
  padding: 0.45rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav__link:hover { color: var(--navy); }
.nav__link.is-active { color: var(--navy); background: rgba(184, 149, 74, 0.12); }

.header__actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 201;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.nav-toggle:hover { border-color: rgba(26, 35, 50, 0.22); }

.nav-toggle__line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: transform 0.28s var(--ease), opacity 0.2s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: block;
  background: rgba(26, 35, 50, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s var(--ease), visibility 0.32s;
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  top: var(--header-h);
  z-index: 190;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--ivory);
  border-top: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition:
    opacity 0.32s var(--ease),
    visibility 0.32s,
    transform 0.32s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav__inner {
  width: min(var(--wrap), 100% - 2.5rem);
  margin-inline: auto;
  padding: 1.75rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.mobile-nav__label {
  margin: 0 0 1.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.65rem, 5vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, padding-left 0.25s var(--ease);
}

.mobile-nav__link::before {
  content: "";
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
  flex-shrink: 0;
}

.mobile-nav__link:hover,
.mobile-nav__link.is-active {
  color: var(--gold);
  padding-left: 0.35rem;
}

.mobile-nav__link.is-active::before,
.mobile-nav__link:hover::before {
  width: 1.25rem;
}

.mobile-nav__cta {
  margin-top: auto;
  padding-top: 2rem;
  width: 100%;
  justify-content: center;
  font-size: 0.9375rem;
}

body.nav-open {
  overflow: hidden;
}

.site-header--nav-open {
  z-index: 200;
  border-bottom-color: transparent;
}

.mobile-nav[hidden],
.mobile-nav-backdrop[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ---- Hero home ---- */
.hero--home {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
  transform: scale(1.02);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 35, 50, 0.88) 0%,
    rgba(26, 35, 50, 0.45) 45%,
    rgba(26, 35, 50, 0.25) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  color: var(--ivory);
}

.hero__eyebrow {
  color: #fff;
  margin-bottom: 1rem;
}

.hero__title { color: var(--ivory); margin-bottom: 1rem; }
.hero__title em { color: var(--gold-light); }

.hero__lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 1.75rem;
  max-width: 52ch;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero__scroll span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(250, 248, 244, 0.5));
}

/* ---- Page hero (inner pages) ---- */
.page-hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}

.page-hero--compact h1 em { color: var(--gold); }

.page-hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0;
}

/* ---- Stats bar ---- */
.stats-bar {
  background: var(--navy);
  color: var(--ivory);
  padding: 1.5rem 0;
  border-bottom: 3px solid var(--gold);
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold-light);
}

.stat span {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}

@media (max-width: 640px) {
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Sections ---- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--beige { background: var(--beige); }
.section--dark { background: var(--navy); color: var(--ivory); }
.section--dark p { color: var(--text-light); }
.section--dark .text-link { color: var(--gold-light); }
.section--filters { padding-top: 2rem; }

.section-header { margin-bottom: 2.5rem; max-width: 560px; }
.section-header--center { text-align: center; margin-inline: auto; }
.section-header__lead { color: var(--text-muted); margin: 0; font-size: 1.05rem; }

.section-footer-link { margin-top: 2rem; font-weight: 600; }
.section-footer-link a { color: var(--gold); }
.section-footer-link--center { text-align: center; }

/* ---- Split layout ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split--reverse .split__media { order: 2; }
.split--reverse .split__content { order: 1; }

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.split__media--tall img { aspect-ratio: 3 / 4; }

@media (max-width: 768px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media, .split--reverse .split__content { order: unset; }
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.5rem;
}

.check-list li {
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.9375rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.prose { max-width: 65ch; }
.prose--center { margin-inline: auto; text-align: center; }
.prose .lead { font-size: 1.125rem; color: var(--text-muted); }

/* ---- Project cards ---- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-grid--featured {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.project-grid--featured .project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-grid--featured .project-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: none;
}

.project-grid--featured .project-card__link:hover {
  transform: none;
}

.project-grid--featured .project-card__media img {
  aspect-ratio: 4 / 3;
  height: auto;
}

.project-grid--featured .project-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 1rem;
}

.project-grid--featured .project-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.project-grid--featured .project-card__excerpt {
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.5em;
}

.project-grid--featured .project-card__more {
  margin-top: auto;
  padding-top: 0.5rem;
}

@media (max-width: 900px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid--featured { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .project-grid { grid-template-columns: 1fr; }
  .project-grid--featured { grid-template-columns: 1fr; }
  .project-grid--featured .project-card__title,
  .project-grid--featured .project-card__excerpt { min-height: 0; }
}

.project-card__link {
  display: block;
  height: 100%;
}

.project-card__link:hover { transform: none; }

.project-card__media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--beige-dark);
  transition: box-shadow 0.3s var(--ease);
}

.project-card__link:hover .project-card__media {
  box-shadow: 0 12px 32px rgba(26, 35, 50, 0.12);
}

.project-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.project-card__link:hover .project-card__media img { transform: scale(1.04); }

.project-card__body { padding: 1rem 0 0; }

.project-card__cat {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.project-card__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  margin: 0.25rem 0 0.35rem;
}

.project-card__meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

.project-card__excerpt {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0;
  line-height: 1.55;
}

.project-card__more {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
}

.project-grid__item.is-hidden { display: none; }

/* ---- Filters ---- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter {
  padding: 0.45rem 1rem;
  font-family: Manrope, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.filter:hover { border-color: var(--navy); color: var(--navy); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: var(--ivory); }

/* ---- Zone d'intervention ---- */
.zone-tags {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 720px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.zone-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.zone-tag--hub {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--ivory);
}

.zone-tag__badge {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
}

/* ---- Process ---- */
.process {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process__step {
  padding-top: 1rem;
  border-top: 2px solid var(--gold);
}

.process__num {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.process__step h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.process__step p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

@media (max-width: 768px) {
  .process { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .process { grid-template-columns: 1fr; }
}

/* ---- Reviews ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review {
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.review__stars { color: var(--gold); letter-spacing: 2px; font-size: 0.875rem; margin-bottom: 0.75rem; }

.review p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  font-style: italic;
}

.review cite { font-style: normal; font-weight: 600; font-size: 0.875rem; }

@media (max-width: 768px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ---- CTA band ---- */
.cta-band {
  background: var(--navy);
  color: var(--ivory);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band__title { color: var(--ivory); margin-bottom: 0.35rem; }
.cta-band__text p { margin: 0; color: var(--text-light); max-width: 42ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---- Project page ---- */
.project-hero__media {
  margin: 0;
  max-height: 70vh;
  overflow: hidden;
}

.project-hero__media img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
}

.project-hero__content {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumb a:hover { color: var(--gold); }

.project-hero__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.project-body { padding: 2.5rem 0 3rem; }

.project-body .prose { max-width: none; }

.project-section { margin-top: 3rem; }
.project-section h2 { font-size: 1.75rem; margin-bottom: 1.25rem; }

/* ---- Gallery ---- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.gallery--atelier { grid-template-columns: repeat(3, 1fr); }

.gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
}

.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.gallery__item:hover img { transform: scale(1.03); }

@media (max-width: 640px) {
  .gallery, .gallery--atelier { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Before / After ---- */
.before-after {
  position: relative;
  aspect-ratio: 4 / 3;
  max-width: 800px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--beige-dark);
  user-select: none;
}

.before-after__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after__img--before { clip-path: inset(0 50% 0 0); }

.before-after__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: col-resize;
  margin: 0;
}

.before-after__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--ivory);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
}

.before-after__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ivory);
  border: 2px solid var(--navy);
}

.before-after__label {
  position: absolute;
  bottom: 0.75rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(26, 35, 50, 0.65);
  color: var(--ivory);
  border-radius: 2px;
}

.before-after__label--before { left: 0.75rem; }
.before-after__label--after { right: 0.75rem; }

/* ---- Project nav ---- */
.project-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.project-nav:has(.project-nav__card:only-child) {
  grid-template-columns: minmax(0, 26rem);
}

.project-nav:has(.project-nav__card--prev:only-child) {
  justify-content: start;
}

.project-nav:has(.project-nav__card--next:only-child) {
  justify-content: end;
}

.project-nav__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  min-height: 5.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--beige);
  color: var(--navy);
  transition:
    border-color 0.22s var(--ease),
    background 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    transform 0.22s var(--ease);
}

.project-nav__card:hover {
  border-color: rgba(184, 149, 74, 0.5);
  background: var(--ivory);
  box-shadow: 0 8px 24px rgba(26, 35, 50, 0.06);
  transform: translateY(-1px);
}

.project-nav__card--next {
  flex-direction: row-reverse;
  text-align: right;
}

.project-nav__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(26, 35, 50, 0.12);
  color: var(--gold);
  background: var(--ivory);
  transition: border-color 0.22s, background 0.22s, color 0.22s;
}

.project-nav__card:hover .project-nav__arrow {
  border-color: rgba(184, 149, 74, 0.45);
  background: rgba(184, 149, 74, 0.1);
  color: var(--navy);
}

.project-nav__thumb {
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: calc(var(--radius) - 1px);
  overflow: hidden;
  background: var(--beige-dark);
}

.project-nav__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}

.project-nav__card:hover .project-nav__thumb img {
  transform: scale(1.04);
}

.project-nav__content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  flex: 1;
}

.project-nav__card--next .project-nav__content {
  align-items: flex-end;
}

.project-nav__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.project-nav__card:hover .project-nav__label {
  color: var(--gold);
}

.project-nav__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 600;
  line-height: 1.25;
}

@media (max-width: 720px) {
  .project-nav {
    grid-template-columns: 1fr;
  }

  .project-nav:has(.project-nav__card:only-child) {
    grid-template-columns: 1fr;
  }

  .project-nav:has(.project-nav__card--next:only-child) {
    justify-content: stretch;
  }

  .project-nav__card--next {
    flex-direction: row;
    text-align: left;
  }

  .project-nav__card--next .project-nav__content {
    align-items: flex-start;
  }
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-info__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 1.25rem;
}

.contact-info__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-info a:hover { color: var(--gold); }

.contact-info__social {
  display: flex;
  gap: 1rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.contact-info__social a { border-bottom: 1px solid var(--line); }
.contact-info__social a:hover { border-color: var(--gold); color: var(--gold); }

.contact-form-wrap {
  padding: 2rem;
  background: var(--beige);
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---- Form ---- */
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
}

.form__field { margin-bottom: 1rem; }

.form__field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form__field input,
.form__field textarea,
.form__field select {
  width: 100%;
  padding: 0.65rem 0;
  font-family: Manrope, sans-serif;
  font-size: 1rem;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 0;
}

.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin: 1rem 0;
  cursor: pointer;
}

.form__check input { width: auto; margin-top: 0.2rem; }

.form__submit { margin-top: 0.5rem; border: none; }

.form__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(26, 35, 50, 0.25);
  border-top-color: var(--navy);
  border-radius: 50%;
  visibility: hidden;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.form__status { margin-top: 0.75rem; min-height: 1.25em; font-size: 0.875rem; }
.form__status.is-ok { color: #1a6b42; }
.form__status.is-err { color: #9b1c1c; }

.hp { position: absolute; left: -9999px; }

/* ---- Map & Video ---- */
.map-embed, .video-embed {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--beige-dark);
}

.map-embed iframe, .video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26, 35, 50, 0.92);
  display: grid;
  place-items: center;
  padding: 2rem;
}

.lightbox[hidden] { display: none; }

.lightbox__img {
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(250, 248, 244, 0.25);
  border-radius: 50%;
  background: transparent;
  color: var(--ivory);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--navy);
  color: var(--text-light);
  margin-top: 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.footer__pitch {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 1rem 0 1.25rem;
  max-width: 36ch;
}

.brand--footer .brand__name { color: var(--ivory); }
.brand--footer .brand__tag { color: rgba(250, 248, 244, 0.5); }

.footer__heading {
  font-family: Manrope, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer__col a:hover { color: var(--gold-light); }

.footer__contact li { font-size: 0.9375rem; }

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.footer__bar {
  border-top: 1px solid rgba(250, 248, 244, 0.1);
  padding: 1rem 0;
}

.footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.8125rem;
  opacity: 0.65;
}

.footer__bar a:hover { color: var(--gold-light); }

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar-inner { flex-direction: column; }
}

/* ---- Legal ---- */
.legal h2 {
  font-family: Manrope, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 2rem 0 0.5rem;
}

.legal p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.legal a { color: var(--gold); border-bottom: 1px solid rgba(184, 149, 74, 0.3); }
.legal__update { margin-top: 2rem; font-size: 0.8125rem; opacity: 0.6; }
