@font-face {
  font-family: "HijraniText";
  src: url("fonts/TrajanPro-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "HijraniSignature";
  src: url("fonts/Amsterline.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* page base */
body {
  font-family: "HijraniText", serif;
}

/* small, quiet site identifier */


/* central layout */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  text-align: center;
}

/* main title */
h1 {
  font-size: 32px;
  letter-spacing: 0.04em;
  font-weight: normal;
  margin-bottom: 16px;
}

/* subtitle */
.subtitle {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 80px;
}

/* symbol */
.symbol img {
  width: 140px;
  height: auto;
  margin: 0 auto 80px;
  display: block;
}

/* navigation */
.nav {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.nav a {
  text-decoration: none;
  color: #000;
  font-size: 18px;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.nav a:hover {
  opacity: 1;
}

/* responsive adjustments */
@media (max-width: 600px) {
  h1 {
    font-size: 26px;
  }

  .nav {
    flex-direction: column;
    gap: 24px;
  }

  .symbol img {
    width: 120px;
  }
}

.site-mark {
  position: absolute;
  top: 24px;
  left: 24px;
  opacity: 0.8;
}

.site-mark span {
  font-family: "HijraniSignature", sans-serif;
  font-size: 60px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  padding-left: 0.2em;
}

/* Main content container */
.content {
  max-width: 640px;
  margin: 120px auto 80px;
  padding: 0 24px;
}

/* Headings */
h1 {
  font-size: 1.8rem;
  margin-bottom: 3rem;
}

h2 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

/* Album blocks */
.album {
  margin-bottom: 4rem;
}

/* Meta text */
.meta {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-bottom: 1.5rem;
}

/* Tracks */
.track {
  margin-bottom: 2rem;
}

.track-title {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* Audio player */
audio {
  width: 100%;
  max-width: 420px;
}

/* Books page */

.books-page .content {
  max-width: 640px;
  margin: 120px auto 80px;
  padding: 0 24px;
}

.books-page h1 {
  font-size: 1.8rem;
  margin-bottom: 3rem;
}

.books-page h2 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.book {
  margin-bottom: 4rem;
}

.book .meta {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-bottom: 1.25rem;
}

.book-actions {
  display: flex;
  gap: 1.5rem;
}

.book-actions a {
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.book-actions a:hover {
  opacity: 0.7;
}

/* Film page */

.film-page .content {
  max-width: 640px;
  margin: 120px auto 80px;
  padding: 0 24px;
}

.film-page h1 {
  font-size: 1.8rem;
  margin-bottom: 3rem;
}

.film-page h2 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.film {
  margin-bottom: 4rem;
}

.film .meta {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-bottom: 1.25rem;
}

/* Video element */

video {
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* Art page */

.art-page .content {
  max-width: 900px; /* slightly wider than text pages */
  margin: 120px auto 80px;
  padding: 0 24px;
}

.art-page h1 {
  font-size: 1.8rem;
  margin-bottom: 3rem;
}

/* Gallery grid */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
}

.site-footer {
  margin-top: 6rem;
  padding: 0 24px;
  font-size: 0.85rem;
  opacity: 0.6;
}

.site-footer a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}