.page { max-width: 1200px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem 1.2rem;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(247, 242, 236, 0.96), rgba(247, 242, 236, 0.7), transparent);
  border-bottom: 1px solid rgba(231, 222, 214, 0.6);
}

.logo { display: flex; align-items: center; gap: .75rem; }
.logo-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: inherit;
}
.logo-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 30%, #fff5ed, #e9c6b7, #c6907b);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(198, 144, 123, 0.3);
  font-weight: 700;
  font-size: 1.05rem;
  color: #5a3a2b;
}

.logo-text-main { font-weight: 600; letter-spacing: .02em; font-size: 1rem; text-transform: none; }
.logo-text-sub { font-size: .75rem; color: var(--text-muted); }

.nav-actions { display: flex; gap: .75rem; align-items: center; }

section { margin-top: 2.4rem; }

.gallery-grid { column-count: 5; column-gap: .75rem; }
.gallery-item {
  display: block;
  margin-bottom: .75rem;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 10px 24px rgba(90, 77, 70, 0.08);
  break-inside: avoid-column;
  -webkit-column-break-inside: avoid;
}
.gallery-item img { display: block; width: 100%; height: auto; }

footer {
  margin-top: 2.2rem;
  padding: 1rem .5rem 0;
  font-size: .85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  text-align: center;
}
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 960px) {
  .gallery-grid { column-count: 3; column-gap: .75rem; }
}

@media (max-width: 640px) {
  header { padding-inline: .5rem; }
  .page { padding-inline: .85rem; }
  .gallery-grid { column-count: 2; column-gap: .65rem; }
}
