@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --ink: #101010;
  --muted-ink: #4f4f4f;
  --paper: #ffffff;
  --soft: #f2f2f2;
  --line: #d8d8d8;
  --accent: #b00020;
  --accent-dark: #780016;
  --black: #000000;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
  --title-font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Quicksand", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 216, 216, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  border-color: rgba(176, 0, 32, 0.28);
  color: var(--accent-dark);
}

.brand-mark {
  flex: 0 0 auto;
  width: 34px;
  height: 50px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 0;
  line-height: 1.05;
}

.brand-copy strong {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 850;
  white-space: nowrap;
}

.brand-copy small {
  color: var(--muted-ink);
  font-size: 0.78rem;
  font-weight: 650;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 2vw, 22px);
  color: var(--muted-ink);
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a {
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--accent);
  color: var(--accent-dark);
}

.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--black);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.58) 42%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 clamp(18px, 7vw, 92px) clamp(74px, 12vh, 132px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-family: var(--title-font);
  font-weight: 850;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p:last-child {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.intro-band {
  background: var(--accent);
  color: var(--white);
  padding: 22px clamp(18px, 4vw, 56px);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.intro-grid article {
  padding: 8px 0;
}

.meta-label {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 750;
  text-transform: uppercase;
}

.intro-grid strong {
  display: block;
  margin-top: 2px;
  font-size: 1.06rem;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 4vw, 56px);
}

.page-hero {
  padding: clamp(82px, 12vw, 150px) clamp(18px, 4vw, 56px) clamp(62px, 9vw, 100px);
  background:
    linear-gradient(120deg, rgba(176, 0, 32, 0.95), rgba(120, 0, 22, 0.92)),
    var(--accent);
  color: var(--white);
}

.page-hero h1,
.page-hero p {
  max-width: 980px;
  margin-inline: auto;
}

.page-hero .eyebrow {
  max-width: 980px;
  margin-inline: auto;
  color: var(--white);
}

.page-hero h1 {
  margin-top: 0;
  margin-bottom: 20px;
  font-family: var(--title-font);
  font-weight: 850;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero p:last-child {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.section.muted {
  background: var(--soft);
}

.section-heading,
.content-columns,
.feature-list,
.download-panel,
.download-grid,
.wallpaper-grid,
.link-grid {
  max-width: 1120px;
  margin-inline: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
  gap: 32px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 0;
  max-width: 760px;
  font-family: var(--title-font);
  font-weight: 820;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.content-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 5vw, 72px);
  color: var(--muted-ink);
  font-size: 1.08rem;
}

.content-columns p {
  margin: 0;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-list article,
.download-panel,
.link-grid a {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.feature-list article {
  padding: clamp(22px, 4vw, 34px);
  border-radius: 8px;
}

h2,
h3 {
  margin: 0 0 10px;
}

h3 {
  font-size: 1.18rem;
}

.feature-list h2,
.download-panel h2 {
  font-size: 1.35rem;
  line-height: 1.2;
}

.feature-list p,
.download-panel p,
.link-grid span,
.site-footer p {
  color: var(--muted-ink);
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 8px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.download-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.download-grid a:hover {
  border-color: rgba(176, 0, 32, 0.45);
  color: var(--accent);
  transform: translateY(-2px);
}

.download-grid small {
  flex: 0 0 auto;
  color: var(--muted-ink);
  font-size: 0.78rem;
  font-weight: 850;
}

.wallpaper-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.wallpaper-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.wallpaper-card:hover {
  border-color: rgba(176, 0, 32, 0.45);
  transform: translateY(-2px);
}

.wallpaper-card img {
  width: 100%;
  aspect-ratio: 13 / 9;
  object-fit: cover;
  background: var(--soft);
}

.wallpaper-card span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-weight: 850;
}

.wallpaper-card small {
  color: var(--muted-ink);
  font-size: 0.76rem;
}

.gallery-toolbar,
.image-gallery {
  max-width: 1120px;
  margin-inline: auto;
}

.gallery-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.gallery-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-ink);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.gallery-toolbar select {
  min-width: 150px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  text-transform: none;
}

.gallery-toolbar p {
  margin: 0;
  color: var(--muted-ink);
  font-weight: 800;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.image-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.image-card:hover {
  border-color: rgba(176, 0, 32, 0.45);
  transform: translateY(-2px);
}

.image-card img {
  width: 100%;
  aspect-ratio: 13 / 9;
  object-fit: cover;
  background: var(--soft);
}

.image-card span {
  display: grid;
  gap: 6px;
  min-height: 108px;
  padding: 12px 14px;
}

.image-card strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.92rem;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.image-card small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted-ink);
  font-size: 0.78rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.has-lightbox {
  overflow: hidden;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  opacity: 0;
  transition: opacity 700ms ease;
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: min(1120px, 100%);
  height: calc(100vh - 48px);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #111111;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  transform-origin: center;
  opacity: 0;
  transform: translateY(90px) scale(0.72);
  transition:
    opacity 700ms ease,
    transform 820ms cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.is-open .lightbox-backdrop {
  opacity: 1;
}

.lightbox.is-open .lightbox-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lightbox-image {
  display: block;
  flex: 1 1 auto;
  width: auto;
  max-width: 100%;
  min-height: 0;
  max-height: calc(100vh - 132px);
  object-fit: contain;
  background: #050505;
  opacity: 0.35;
  transform: scale(0.96);
  transition:
    opacity 720ms ease 120ms,
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1) 120ms;
}

.lightbox.is-open .lightbox-image {
  opacity: 1;
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: var(--white);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: var(--accent);
}

.lightbox-footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 14px 16px;
  background: #111111;
  color: var(--white);
}

.lightbox-caption {
  display: -webkit-box;
  overflow: hidden;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-weight: 800;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.lightbox-download {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--white);
  font-weight: 850;
  text-decoration: none;
}

.lightbox-download:hover {
  background: var(--accent-dark);
}

@media (prefers-reduced-motion: reduce) {
  .lightbox-backdrop,
  .lightbox-panel,
  .lightbox-image {
    transition: none;
  }
}

code {
  padding: 2px 6px;
  border-radius: 5px;
  background: #eeeeee;
  color: var(--accent-dark);
  font-size: 0.94em;
}

.button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-dark);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.page-grid {
  align-items: stretch;
}

.link-grid a {
  display: grid;
  grid-template-rows: 168px auto 1fr;
  min-height: 326px;
  overflow: hidden;
  padding: 0 0 22px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.link-grid a:hover {
  border-color: rgba(176, 0, 32, 0.45);
  color: var(--accent-dark);
  transform: translateY(-2px);
}

.link-grid a:hover span {
  color: var(--muted-ink);
}

.link-grid img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  background: var(--soft);
}

.link-grid .link-card-logo {
  object-fit: contain;
  padding: 18px;
  background: #f7f7f7;
}

.link-grid strong {
  display: block;
  padding: 20px 22px 0;
  font-size: 1.1rem;
  line-height: 1.2;
}

.link-grid span {
  display: block;
  margin-top: 10px;
  padding: 0 22px;
  font-weight: 500;
  line-height: 1.45;
}

.site-footer {
  padding: 34px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: #f2f2f2;
}

.site-footer p {
  max-width: 1120px;
  margin: 0 auto;
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    margin-bottom: 64px;
  }

  .intro-grid,
  .section-heading,
  .content-columns,
  .feature-list,
  .download-grid,
  .wallpaper-grid,
  .image-gallery,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .gallery-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .lightbox {
    padding: 14px;
  }

  .lightbox-panel {
    height: calc(100vh - 28px);
    max-height: calc(100vh - 28px);
  }

  .lightbox-image {
    max-height: calc(100vh - 172px);
  }

  .lightbox-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .lightbox-caption {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .brand {
    white-space: normal;
  }

  .site-nav {
    gap: 16px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.32)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.05));
  }
}

.coming-soon-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #fdfdfd;
}

.coming-soon {
  width: min(960px, 100%);
  color: var(--ink);
  text-align: center;
}

.coming-soon-logo {
  width: 96px;
  height: auto;
  margin-bottom: 28px;
}

.coming-soon-art {
  display: block;
  width: min(620px, 92vw);
  max-height: min(58vh, 620px);
  object-fit: contain;
  margin: 0 auto 24px;
}

.coming-soon h1 {
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1;
  white-space: nowrap;
}

.coming-soon p:last-child {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--muted-ink);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

@media (max-width: 720px) {
  .coming-soon h1 {
    white-space: normal;
  }
}
