:root {
  --bg: #f3f1ed;
  --bg-soft: #fbfaf8;
  --text: #1f2430;
  --muted: #566072;
  --line: rgba(31, 36, 48, 0.12);
  --accent: #2b4568;
  --accent-dark: #1d314d;
  --card: rgba(255,255,255,0.96);
  --shadow: 0 18px 40px rgba(20, 28, 40, 0.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(47,74,109,0.08), transparent 24%),
    radial-gradient(circle at bottom right, rgba(86,96,114,0.08), transparent 28%),
    linear-gradient(180deg, #f0efec 0%, #f6f4f1 100%);
  font-family: Inter, system-ui, sans-serif;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: min(1160px, calc(100% - 96px));
  margin: 0 auto;
}

.narrow {
  width: min(920px, calc(100% - 48px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 241, 237, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(31,36,48,0.04);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 0 12px;
}

.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: 0.03em;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.nav a.is-active,
.nav a:hover {
  color: var(--accent-dark);
  border-bottom-color: var(--accent-dark);
}

.page-hero {
  display: grid;
  gap: 56px;
  align-items: center;
  padding: 72px 0 26px;
}

.page-hero-compact { padding-bottom: 8px; }

.eyebrow {
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-dark);
  font-size: 1rem;
  font-weight: 700;
}

h1, h2 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.02;
  margin: 0 0 18px;
}

h1 { font-size: clamp(2rem, 3.4vw, 3rem); }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.15rem); }
h3 { margin-top: 0; margin-bottom: 12px; font-size: 1.08rem; letter-spacing: 0.01em; }

.lead, .secondary, .intro-card p, .card p, .split-panel p, .contact-box p, .site-footer p, .empty-state p {
  color: var(--muted);
  line-height: 1.82;
  text-align: justify;
}

.hero-signature {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 8px 18px rgba(32, 55, 84, 0.14);
}

.btn-secondary {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
}

.intro-card,
.card,
.split-panel,
.quote,
.contact-box,
.home-clean-photo img {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.section { padding: 44px 0; }

.intro-card,
.card,
.split-panel,
.quote,
.contact-box {
  border-radius: 6px;
  padding: 30px;
}

.quote {
  padding: 18px 22px;
}

.quote p {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.92rem, 1.1vw, 1.08rem);
  color: var(--text);
  line-height: 1.5;
  text-align: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.card { min-height: 100%; }

.split-panel {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.module-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text);
  line-height: 2;
  font-weight: 600;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: start;
}

.contact-box.single-column { grid-template-columns: 1fr; }

.contact-details a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 600;
}

.empty-state h2 { margin-bottom: 12px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.gallery-item img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease, opacity 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: saturate(0.96) contrast(1.02);
}

.gallery-item-clean:nth-child(6n+1),
.gallery-item-clean:nth-child(6n+5) { grid-column: span 2; }

.gallery-item-clean:nth-child(6n+1) img,
.gallery-item-clean:nth-child(6n+5) img { aspect-ratio: 16 / 10; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(16, 20, 28, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  z-index: 9999;
}

.lightbox.is-open { display: flex; }

.lightbox-stage {
  max-width: min(1200px, 88vw);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(255,255,255,0.14);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.lightbox-close {
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  font-size: 2rem;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
body.lightbox-open { overflow: hidden; }

.site-footer { padding: 26px 0 46px; }

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  text-align: center;
  align-items: center;
}

.footer-inner p { margin: 0; text-align: center !important; width: 100%; }

.site-footer p {
  text-align: center !important;
}

.home-clean {
  padding: 0 0 42px;
}

.home-clean-head {
  display: grid;
  gap: 6px;
  margin-top: 0;
  margin-bottom: 12px;
}

.home-clean-flow p,
.home-clean-body p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.85;
  text-align: justify;
}

.home-clean-photo {
  margin: 0;
}

.home-clean-photo img {
  width: 100%;
  border-radius: 6px;
}

.home-clean-photo-float {
  float: right;
  width: 250px;
  margin: 6px 0 18px 34px;
}

.home-clean-flow {
  display: block;
  margin-bottom: 6px;
}

.home-clean-body {
  display: grid;
  gap: 20px;
}

.home-clean-list {
  margin: -6px 0 0 20px;
  padding: 0;
  color: var(--muted);
  line-height: 1.85;
}

.home-clean-list li {
  margin-bottom: 6px;
}

.home-clean-quote {
  margin-top: 30px;
}

.home-clean-actions {
  margin-top: 24px;
}

@media (max-width: 900px) {
  .header-inner,
  .cards-grid,
  .split-panel,
  .contact-box {
    grid-template-columns: 1fr;
  }

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

  .gallery-item-clean:nth-child(6n+1),
  .gallery-item-clean:nth-child(6n+5) {
    grid-column: span 1;
  }

  .lightbox { padding: 20px; }

  .header-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 8px 16px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .home-clean-photo-float {
    float: none;
    width: min(100%, 220px);
    margin: 0 auto 18px;
  }

  .home-clean-photo img {
    width: 100%;
    margin: 0 auto;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn { width: 100%; }
}

@media (max-width: 560px) {
  .container,
  .narrow {
    width: min(100% - 24px, 1140px);
  }

  .brand { font-size: 1.7rem; }

  .intro-card,
  .card,
  .split-panel,
  .quote,
  .contact-box {
    padding: 22px;
  }

  .nav { font-size: 0.95rem; }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-item img,
  .gallery-item-clean:nth-child(6n+1) img,
  .gallery-item-clean:nth-child(6n+5) img {
    aspect-ratio: 4 / 3;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
  }

  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}
