:root {
  color-scheme: dark;
  --bg: #0c0f0d;
  --panel: #111612;
  --panel-2: #171d18;
  --line: #2b352e;
  --text: #e8eee9;
  --muted: #8f9b91;
  --accent: #4fd48b;
  --accent-2: #75a7ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
}

.topbar,
.brand,
.top-actions,
.shot-head {
  display: flex;
  align-items: center;
}

.topbar {
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  min-width: 0;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.brand {
  flex: 1;
  min-width: 0;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.brand-title {
  color: var(--text);
  font-weight: 700;
}

.domain-label {
  color: var(--accent-2);
}

.dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

.action-link {
  display: inline-grid;
  min-height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  background: var(--panel-2);
  color: var(--text);
  font-size: 12px;
  text-decoration: none;
}

.action-link:hover,
.action-link:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.gallery-head {
  padding: 24px 18px 12px;
}

.eyebrow,
.summary {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

.summary {
  max-width: 70ch;
  margin: 12px 0 0;
  line-height: 1.5;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 12px 18px 18px;
}

.shot-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.shot-head {
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
}

.shot-head h2 {
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shot-head span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
}

.shot-card a {
  display: block;
  background: #050806;
}

.shot-card img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  .topbar {
    min-height: 48px;
    padding-inline: 10px;
  }

  .brand-title {
    display: none;
  }

  .gallery-head {
    padding: 18px 10px 8px;
  }

  h1 {
    font-size: 34px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 8px 10px 14px;
  }
}

@media (max-width: 380px) {
  .domain-label {
    display: none;
  }

  h1 {
    font-size: 30px;
  }
}
