:root {
  --cream: #fff8ef;
  --sand: #f6e8d8;
  --ink: #2f231c;
  --muted: #7b6759;
  --accent: #d9684a;
  --line: #ecdccb;
  --radius: 22px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-image: radial-gradient(circle at 12% 0%, #ffe9d4 0%, transparent 45%),
    radial-gradient(circle at 92% 8%, #f3e6ff 0%, transparent 40%);
  background-repeat: no-repeat;
}

a { color: inherit; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  text-align: center;
  padding: 64px 0 34px;
}

.paw {
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  fill: var(--accent);
  opacity: 0.9;
}

h1 {
  font-family: ui-rounded, "Segoe UI", system-ui, sans-serif;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}

h1 em {
  font-style: normal;
  color: var(--accent);
}

.lede {
  max-width: 46ch;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.feature {
  margin: 12px 0 46px;
  border-radius: 34px;
  overflow: hidden;
  background: var(--sand);
  box-shadow: 0 24px 60px -30px #7b675988;
}

.feature img {
  display: block;
  width: 100%;
  height: clamp(260px, 46vw, 480px);
  object-fit: cover;
  object-position: center 35%;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 0;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0 0 60px;
  list-style: none;
}

figure {
  margin: 0;
}

.shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  box-shadow: 0 10px 30px -18px #2f231c66;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.shot:hover img { transform: scale(1.05); }

figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 4px 0;
  font-size: 14px;
  color: var(--muted);
}

figcaption b {
  color: var(--ink);
  font-weight: 600;
}

dialog {
  border: 0;
  padding: 0;
  background: transparent;
  overflow: visible;
  max-width: min(920px, 94vw);
}

dialog::backdrop {
  background: #2f231ccc;
  backdrop-filter: blur(4px);
}

dialog img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 18px;
  background: #1a1310;
}

dialog p {
  margin: 12px 0 0;
  color: #fff3e6;
  text-align: center;
  font-size: 14px;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: var(--cream);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px #0005;
}

footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 46px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

footer a { text-decoration-color: var(--line); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .shot img { transition: none; }
  .shot:hover img { transform: none; }
}
