:root {
  --bg: #f7f4ee;
  --panel: #ffffff;
  --ink: #181818;
  --muted: #5f5f5f;
  --line: #252525;
  --accent: #f0c95a;
  --accent-soft: #f7e2a3;
  --shadow: 0 3px 0 rgba(0, 0, 0, 0.75);
  --radius: 12px;
  --wrap: 1120px;
  --gutter: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.wrap {
  width: min(var(--wrap), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
}

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

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: rgba(240, 201, 90, 0.45);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.55);
  padding: 8px 12px;
  min-height: 42px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-logo img {
  display: block;
  width: 176px;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 12px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: rgba(240, 201, 90, 0.3);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.55);
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.site-nav a:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(37, 37, 37, 0.35);
  outline-offset: 2px;
}

.site-nav a.active {
  background: var(--accent);
}

.site-nav a:hover {
  background: rgba(240, 201, 90, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.6);
}

.hero-card {
  background: linear-gradient(180deg, var(--accent) 0%, #f5d378 100%);
  border: 2px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.hero-card h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 800;
}

.hero-card p {
  margin: 12px 0 0;
  color: #47370f;
  line-height: 1.45;
  max-width: 70ch;
}

.section {
  padding: 18px 0;
}

.section h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 800;
}

.panel {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.cols-2 {
  grid-template-columns: 1fr 1fr;
}

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

.card {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.65);
  padding: 14px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.card .meta {
  display: block;
  margin-top: 8px;
  color: #684f11;
  font-size: 0.75rem;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  background: #f4f1ea;
  box-shadow: var(--shadow);
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  background: #fff8ea;
  transform: translateY(-1px);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.78);
}

.btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.placeholder-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.placeholder-photo {
  min-height: 120px;
  border: 2px dashed #7b7b7b;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #efefef;
  color: #555;
  font-weight: 600;
  font-size: 0.8rem;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.list li + li {
  margin-top: 4px;
}

.footer {
  padding: 26px 0 40px;
}

.footer .panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.muted {
  color: var(--muted);
}

@media (max-width: 1024px) {
  :root {
    --gutter: 14px;
  }

  .footer .panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 12px;
  }

  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px 0 10px;
  }

  .site-logo img {
    width: 138px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    padding-top: 4px;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 12px;
    min-height: 44px;
  }

  .hero-card {
    padding: 16px;
    border-radius: 14px;
  }

  .hero-card h1 {
    font-size: 1.45rem;
  }

  .hero-card p {
    font-size: 0.9rem;
  }

  .section {
    padding: 12px 0;
  }

  .section h2 {
    font-size: 1.1rem;
    line-height: 1.2;
  }

  .grid.cols-2,
  .grid.cols-3,
  .placeholder-photos {
    grid-template-columns: 1fr;
  }

  .btn {
    min-height: 44px;
  }

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

  .btn-row .btn {
    width: 100%;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}
