/*
  The Ampersand Syndicate
  Site design & code by Madp03t
  https://theampersandsyndicate.com
*/
@font-face {
  font-family: "Philosopher";
  src: url("../fonts/Philosopher-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Philosopher";
  src: url("../fonts/Philosopher-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

:root {
  --page-bg: #2b2b2b;
  --text: #f2f2f2;
  --header-bg: #dddddd;
  --header-text: #333333;
  --card-bg: #333333;
  --card-info-bg: #4a4a4a;
  --footer-bg: #5a5a5a;
}

[data-theme="light"] {
  --page-bg: #f1f0ed;
  --text: #2b2b2b;
  --header-bg: #dddddd;
  --header-text: #333333;
  --card-bg: #e2e0dc;
  --card-info-bg: #d2d0cc;
  --footer-bg: #5a5a5a;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: "Philosopher", Georgia, serif;
}

html {
  overflow-y: scroll;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  box-sizing: border-box;
  width: 100%;
  align-items: center;
  justify-content: space-between;

  height: 72px;
  padding: 0 32px;

  background: var(--header-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.site-nav {
  display: flex;
  gap: 32px;
  font-size: 1.2rem;
}

.site-nav a {
  color: var(--header-text);
  text-decoration: none;
}

.site-nav a:hover {
  color: #3300ff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.theme-toggle {
  padding: 0;
  border: 0;
  background: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.theme-toggle img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

[data-theme="light"] .theme-toggle img {
  filter: drop-shadow(0 0 4px #3300ff);
}

.site-logo img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.projects {
  padding: 48px 32px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: #747474;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  color: inherit;
  text-decoration: none;
}

.project-image {
  height: 320px;
  background: var(--card-bg);
}

.project-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-info {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background: var(--card-info-bg);
  font-size: 1.1rem;
}

.project-title {
  font-weight: 700;
}

.project-type {
  opacity: 0.7;
}

.project-page {
  padding: 80px 32px 100px;
}

.project-page a {
  color: #8066ff;
}

.project-page a:hover {
  color: #a999ff;
}

.project-hero {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 56px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.project-art img {
  display: block;
  width: 100%;
  height: auto;
}

.project-art figcaption {
  margin-top: 8px;
  font-size: 0.75rem;
  line-height: 1.35;
  text-align: center;
  opacity: 0.55;
}

.project-charity {
  margin-top: 32px;
  padding-left: 24px;
  border-left: 3px solid #3300ff;
}

.project-release {
  margin-top: 28px;
}

.project-release p {
  margin: 0;
}

.release-date {
  font-size: 1.25rem;
  font-weight: 700;
}

.release-format {
  margin-top: 4px !important;
  opacity: 0.7;
}

.about {
  padding: 80px 32px 100px;
}

.about a {
  color: #a999ff;
}

.about a:hover {
  color: #c8bdff;
}

.about-content {
  max-width: 760px;
  margin: 0 auto;
}

.about-content h1 {
  margin: 0 0 40px;
  font-size: 3.5rem;
  line-height: 1;
  font-weight: 700;
}

.about-content h2 {
  margin: 0 0 40px;
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 700;
}

.about-content p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.about-closing {
  margin-top: 48px;
  font-size: 1.6rem !important;
  line-height: 1.35 !important;
}

.contact {
  padding: 80px 32px 100px;
}

.contact-content {
  max-width: 760px;
  margin: 0 auto;
}

.contact-content h1 {
  margin: 0 0 40px;
  font-size: 3.5rem;
  line-height: 1;
  font-weight: 700;
}

.contact-content p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.contact-closing {
  margin-top: 48px;
  font-size: 1.6rem !important;
  line-height: 1.35 !important;
}

.site-footer {
  padding: 28px 32px;
  background: var(--footer-bg);
  color: #ffffff;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}

.footer-nav a {
  color: inherit;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #3300ff;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 700px) {
  .project-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding: 0 16px;
  }

  .site-nav {
    gap: 16px;
    font-size: 1rem;
  }

  .header-actions {
    gap: 16px;
  }

  .projects {
  padding: 30px 15px;
  }

  .project-page {
    padding: 40px 16px 64px;
  }

  .project-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}