@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&display=swap');

:root {
  color-scheme: light;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 16px;
  line-height: 1.7;
  color: #3f3a34;
  background: #f5efe7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #f5efe7;
}

.page-shell {
  width: min(980px, calc(100% - 2rem));
  padding: 3rem 1.5rem;
  text-align: center;
}

.brand-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.brand-logo {
  max-width: 260px;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(80, 65, 52, 0.12));
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #6b574b;
}

.intro-text h1 {
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 4.8rem);
  color: #3f3a34;
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 12ch;
  margin-inline: auto;
}

.intro-text p {
  margin: 1.8rem auto 0;
  max-width: 44rem;
  color: #5e534b;
  font-size: 1.05rem;
  line-height: 1.9;
  white-space: pre-line;
}

.gallery {
  margin-top: 3rem;
}

.gallery h2 {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7b685d;
}

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

.gallery-item {
  border-radius: 28px;
  overflow: hidden;
  background: #ece2d6;
  min-height: 220px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-note {
  margin: 1rem auto 0;
  max-width: 42rem;
  font-size: 0.95rem;
  color: #7b685d;
}

.footer-block {
  margin-top: 3.5rem;
  padding: 2.5rem 0 0;
  border-top: 1px solid rgba(123, 104, 93, 0.18);
}

.build-text {
  margin: 0;
  font-size: 1.05rem;
  color: #3f3a34;
}

.connect-title {
  margin: 0.85rem 0 1.5rem;
  font-size: 1.55rem;
  color: #5e534b;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.contact-links a {
  color: #3f3a34;
  text-decoration: none;
  border: 1px solid rgba(63, 58, 52, 0.2);
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  background: rgba(252, 248, 244, 0.92);
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(63, 58, 52, 0.35);
}

@media (max-width: 720px) {
  .page-shell {
    padding: 2rem 1rem;
  }

  .intro-text h1 {
    font-size: 2.4rem;
  }

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