:root {
  --ink: #f7f3e8;
  --muted: rgba(247, 243, 232, 0.78);
  --card: rgba(6, 28, 32, 0.42);
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Trebuchet MS", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #0b3a34 url("assets/background.png") center / cover no-repeat fixed;
  line-height: 1.5;
}

.wrap {
  flex: 1 0 auto;
  width: 100%;
  min-width: 0;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding: 32px 20px 28px;
}

.hero {
  text-align: center;
  margin-bottom: 8px;
}

.icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.logo {
  display: block;
  height: 108px;
  width: auto;
  margin: 14px auto 4px;
}

.store {
  margin: 22px 14px 8px;
}

.store a {
  display: inline-block;
  line-height: 0;
}

.store img {
  display: block;
  height: 56px;
  width: auto;
}

.avatars {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 8px 0 4px;
}

.avatars img {
  width: 48px;
  height: 48px;
}

h1, h2 {
  font-weight: 700;
  letter-spacing: 0.02em;
}

h2 {
  font-family: "Marker Felt", "Chalkboard SE", "Comic Sans MS", cursive;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.audience {
  max-width: 36em;
  margin: 22px auto 28px;
  text-align: center;
}

.audience p {
  margin: 0;
}

.sets {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 4px 6px;
  margin: 0 0 36px;
  padding: 14px 12px;
  border-radius: 12px;
  background: var(--card);
}

.sets img {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}

.shot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.shot .frame {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--card);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  cursor: zoom-in;
}

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

.shot figcaption {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.lightbox-close {
  display: none;
}

.shot:target::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(4, 20, 24, 0.86);
}

.shot:target .frame {
  position: fixed;
  z-index: 41;
  top: 50%;
  left: 50%;
  width: min(96vw, 1200px);
  height: auto;
  aspect-ratio: auto;
  transform: translate(-50%, -50%);
  cursor: default;
  background: transparent;
  box-shadow: none;
}

.shot:target .frame img {
  width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.shot:target .lightbox-close {
  display: block;
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 42;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}

footer {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid rgba(247, 243, 232, 0.25);
}

a {
  color: var(--ink);
}

.seabed {
  flex: none;
  height: 72px;
  background: url("assets/plants.png") center bottom / auto 72px repeat-x;
  pointer-events: none;
}

.policy {
  max-width: 40em;
  margin: 0 auto 28px;
  background: var(--card);
  padding: 24px 28px 32px;
  border-radius: 16px;
}

.policy h1 {
  font-family: "Marker Felt", "Chalkboard SE", "Comic Sans MS", cursive;
  font-weight: 400;
  font-size: 2rem;
  margin: 0 0 12px;
}

.policy h2 {
  text-transform: none;
  font-size: 1.2rem;
  margin: 22px 0 6px;
}

.policy p {
  margin: 0 0 12px;
}

.back {
  display: inline-block;
  margin-bottom: 16px;
}

@media (max-width: 720px) {
  .logo {
    height: 78px;
  }

  .sets {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  h2 {
    font-size: 1.2rem;
  }

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