@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;600&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&display=swap');

:root {
  --accent: #fbc22d;
  --text: #444444;
  --muted: #6a6a6a;
  --soft: #f2f2f2;
  --bg: #ffffff;
  --font-body: "Archivo", sans-serif;
  --font-heading: "Archivo", sans-serif;
  --font-quote: "Source Serif 4", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

body.lightbox-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.site-shell {
  display: flex;
  min-height: 100vh;
}

.site-header {
  width: 280px;
  padding: 32px 24px 40px;
  border-right: 1px solid var(--soft);
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--bg);
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.logo img {
  max-width: 190px;
  height: auto;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--muted);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  padding: 8px 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-item a {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.nav-item.is-active a {
  color: var(--accent);
}

.sidebar-text {
  font-size: 12px;
  color: var(--muted);
}

.sidebar-text p {
  margin: 0 0 12px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 13px;
  color: #c6c6c6;
}

.social-links a:hover {
  color: var(--accent);
}

.site-main {
  flex: 1;
  padding: 48px 64px;
  animation: fadeUp 0.6s ease both;
}

.page-intro h1 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 24px;
  color: #222222;
}

.gallery {
  column-count: 3;
  column-gap: 20px;
}

.gallery figure {
  margin: 0 0 20px;
  break-inside: avoid;
}

.gallery img {
  width: 100%;
  display: block;
  border-radius: 2px;
  transition: transform 0.4s ease;
  cursor: zoom-in;
}

.gallery img:hover {
  transform: scale(1.01);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.blog-card {
  border: 1px solid var(--soft);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.blog-card img {
  width: 100%;
  display: block;
}

.blog-card-body {
  padding: 18px 20px 22px;
}

.blog-card h2 {
  font-size: 18px;
  margin: 0 0 8px;
}

.blog-date {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 12px;
}

.blog-post {
  max-width: 760px;
}

.blog-post img {
  width: 100%;
  margin: 20px 0;
  border-radius: 2px;
}

.blog-post h1 {
  margin-bottom: 8px;
}

.content-page {
  max-width: 760px;
}

.content-page img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 20px;
}

.lead {
  font-size: 16px;
  color: #222222;
}

blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin: 24px 0;
  font-family: var(--font-quote);
  color: #222222;
}

blockquote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--muted);
  border-radius: 2px;
  padding: 10px 12px;
  font-family: var(--font-body);
}

.hidden-field {
  display: none;
}

.contact-form button {
  justify-self: start;
  border: 1px solid var(--muted);
  background: transparent;
  color: var(--muted);
  padding: 10px 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  cursor: pointer;
}

.contact-form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.captcha-wrap {
  min-height: 78px;
}

.thanks-link {
  display: inline-block;
  margin-top: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--muted);
}

.site-footer {
  padding: 20px 32px 30px;
  font-size: 12px;
  color: var(--muted);
}

.mobile-menu {
  display: none;
  position: sticky;
  top: 0;
  z-index: 998;
  background: var(--bg);
  border-bottom: 1px solid var(--soft);
}

.mobile-menu-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.mobile-menu .logo img {
  max-width: 160px;
}

.mobile-menu .menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 38px;
  border: none;
}

.mobile-menu .menu-toggle span {
  position: relative;
  width: 22px;
  height: 3px;
  background: var(--muted);
  display: block;
}

.mobile-menu .menu-toggle span::before,
.mobile-menu .menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 3px;
  background: var(--muted);
}

.mobile-menu .menu-toggle span::before {
  top: -7px;
}

.mobile-menu .menu-toggle span::after {
  top: 7px;
}

.menu-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 997;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 999;
}

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

.lightbox-image {
  max-width: min(90vw, 1200px);
  max-height: 85vh;
  border-radius: 2px;
  display: block;
}

.lightbox button {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 36px;
}

.lightbox-frame {
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.lightbox-image.slide-left {
  animation: slideLeft 0.25s ease;
}

.lightbox-image.slide-right {
  animation: slideRight 0.25s ease;
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .site-shell {
    flex-direction: column;
  }

  .site-header {
    width: min(320px, 82vw);
    position: fixed;
    inset: 0 auto 0 0;
    height: 100vh;
    border-right: none;
    border-bottom: none;
    background: rgba(238, 238, 238, 0.92);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 999;
    padding: 72px 22px 32px;
  }

  .menu-toggle {
    display: none;
  }

  .desktop-toggle {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .site-header {
    transform: translateX(0);
  }

  body.menu-open .menu-scrim {
    display: block;
  }

  .site-main {
    padding: 32px 20px 48px;
  }

  .gallery {
    column-count: 2;
  }

  .sidebar-text,
  .social-links {
    display: none;
  }

  .site-nav ul {
    gap: 8px;
  }

  .nav-item a {
    font-size: 15px;
    letter-spacing: 0.12em;
  }
}

@media (max-width: 640px) {
  .gallery {
    column-count: 1;
  }

  .lightbox button {
    font-size: 24px;
  }
}
