@font-face {
  font-family: Cantarell;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cantarell-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: Cantarell;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/cantarell-latin-700-normal.woff2') format('woff2');
}

:root {
  color-scheme: dark;
  --bg: #000000;
  --band: #161616;
  --band-alt: #241f31;
  --fg: #ffffff;
  --muted: rgb(255 255 255 / 72%);
  --accent: #3584e4;
  --accent-hover: #62a0ea;
  --line: rgb(255 255 255 / 16%);
  --font: Cantarell, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 128px;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
}

main {
  flex: 1 0 auto;
}

a {
  color: #99c1f1;
}

.frame {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}

.header {
  background: #000000;
}

.header__inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-weight: 700;
  text-decoration: none;
}

.wordmark {
  height: 88px;
  width: auto;
  display: block;
}

.wordmark--footer {
  height: 104px;
}

.header__nav {
  display: flex;
  gap: 28px;
}

.header__nav a {
  color: var(--fg);
  text-decoration: none;
}

.header__nav a:hover {
  color: #99c1f1;
}

.hero {
  padding: 56px 0 40px;
}

.hero__inner {
  text-align: center;
}

.hero h1 {
  margin: 0 auto;
  max-width: 16ch;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero p {
  max-width: 42ch;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.showcase {
  padding: 12px 0 96px;
}

.showcase__art {
  display: block;
  width: min(1440px, calc(100% - 32px));
  height: auto;
  margin: 0 auto;
}

.showcase h2 {
  margin: 36px 0 0;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

.showcase p {
  max-width: 42ch;
  margin: 10px auto 0;
  color: var(--muted);
  text-align: center;
}

.page {
  padding: 40px 0 80px;
}

.page h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.catalog {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 32px;
}

.catalog a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 148px;
  padding: 16px 8px;
  border-radius: 12px;
  color: inherit;
  text-align: center;
  text-decoration: none;
}

.catalog a:hover,
.catalog a:focus-visible {
  background: rgb(255 255 255 / 6%);
}

.catalog img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.catalog span {
  font-size: 14px;
  line-height: 1.3;
}

.back {
  display: inline-block;
  margin-bottom: 24px;
  text-decoration: none;
}

.library-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.library-title img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.library-title p,
.summary {
  margin: 4px 0 0;
  color: var(--muted);
}

.summary {
  max-width: 62ch;
  margin-top: 16px;
}

.shot-group,
.detail-group {
  margin-top: 40px;
}

.shot-group h2,
.detail-group h2 {
  margin: 0 0 16px;
  font-size: 20px;
  text-align: left;
}

.folder + .folder {
  margin-top: 20px;
}

.folder h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}

.thumbs a {
  display: block;
}

.thumbs img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  background: #1c1c1c;
}

.detail-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-group li {
  margin-top: 6px;
  color: var(--muted);
}

.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 40px;
}

.band {
  background: var(--band);
  padding: 80px 0;
}

.band--alt {
  background: var(--band-alt);
}

.band h2,
.footer strong {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

.lede {
  max-width: 46ch;
  margin: 12px auto 0;
  color: var(--muted);
  text-align: center;
}

.features,
.downloads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 64px;
  margin-top: 48px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature__icon {
  width: 56px;
  height: 56px;
  flex: none;
  object-fit: contain;
}

.features h3,
.downloads h3 {
  margin: 0;
  font-size: 18px;
}

.features p,
.downloads p,
.footer p {
  margin: 8px 0 0;
  color: var(--muted);
}

.downloads .button {
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px 0 14px;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  font-weight: 700;
  text-decoration: none;
}

.os-icon {
  width: 16px;
  height: 16px;
  flex: none;
}

.button:hover {
  background: rgb(255 255 255 / 8%);
}

.button--suggested {
  border-color: transparent;
  background: var(--accent);
  color: #ffffff;
}

.button--suggested:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

.button:focus-visible,
.header__nav a:focus-visible,
.brand:focus-visible,
.footer a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.footer {
  padding: 56px 0 64px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer strong {
  display: block;
  font-size: 16px;
  text-align: left;
}

.footer a {
  display: block;
  margin-top: 8px;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.contact {
  max-width: 560px;
}

.contact label {
  display: block;
  margin-top: 16px;
  font-weight: 700;
}

.contact input,
.contact textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000;
  color: var(--fg);
  font: inherit;
}

.contact textarea {
  min-height: 140px;
  resize: vertical;
}

.contact input:focus-visible,
.contact textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.contact .check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  font-weight: 400;
}

.contact .check input {
  width: auto;
  margin-top: 4px;
}

.contact button {
  margin-top: 20px;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 760px) {
  .hero {
    padding: 56px 0;
  }

  .features,
  .downloads,
  .footer__grid,
  .details {
    grid-template-columns: 1fr;
    padding: 8px 0 0;
  }

  .wordmark {
    height: 56px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .header__nav {
    gap: 16px;
  }
}
