/* ==========================================
   fewer. — stylesheet
   ========================================== */

@font-face {
  font-family: 'Trinigan';
  src: url('../fonts/trinigan.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Google Fonts loaded in HTML: Cormorant Garamond, Jost */

:root {
  --bg:               #090c12;
  --bg-warm:          #0d1018;
  --text:             #c4cad6;
  --text-dim:         #58647a;
  --text-link:        #a87858;
  --text-link-hover:  #c2957a;
  --border:           rgba(168, 120, 90, 0.14);
  --font-wordmark:    'Trinigan', 'Cormorant Garamond', Georgia, serif;
  --font-display:     'Cormorant Garamond', Georgia, serif;
  --font-ui:          'Jost', 'Helvetica Neue', Arial, sans-serif;
  --band-height:      8px;
  --gap-height:       26px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ---- atmospheric layers ---- */

.light-source {
  position: fixed;
  top: -10vh;
  left: -5vw;
  width: 65vw;
  height: 100vh;
  background: radial-gradient(
    ellipse at 30% 30%,
    rgba(200, 130, 70, 0.22) 0%,
    rgba(178, 108, 54, 0.13) 35%,
    rgba(150, 84, 32, 0.05) 60%,
    transparent 75%
  );
  pointer-events: none;
  z-index: 1;
}

.venetian-bands {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 4, 12, 0.85) 0px,
    rgba(0, 4, 12, 0.85) var(--band-height),
    transparent var(--band-height),
    transparent calc(var(--band-height) + var(--gap-height))
  );
  pointer-events: none;
  z-index: 2;
}

#dust-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 3;
  opacity: 0.45;
}

/* ---- layout ---- */

.site-wrapper {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- navigation ---- */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(
    to bottom,
    rgba(9, 12, 18, 0.92) 0%,
    transparent 100%
  );
}

.nav-wordmark {
  font-family: var(--font-wordmark);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 200;
}

.nav-wordmark:hover {
  opacity: 1;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: lowercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

/* ---- hamburger button ---- */

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
  position: relative;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text-dim);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.nav-hamburger:hover span {
  background: var(--text);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---- main content ---- */

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 3rem 4rem;
}

/* ---- landing page ---- */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 12rem);
  max-width: 820px;
}

.hero-wordmark {
  font-family: var(--font-wordmark);
  font-size: clamp(4.5rem, 11vw, 9rem);
  font-weight: normal;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 2s ease forwards;
  animation-delay: 0.3s;
}

.hero-statement {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-dim);
  line-height: 1.9;
  max-width: 440px;
  margin-bottom: 3.5rem;
  opacity: 0;
  animation: fadeUp 2s ease forwards;
  animation-delay: 0.8s;
}

.hero-links {
  display: flex;
  gap: 2.5rem;
  opacity: 0;
  animation: fadeUp 2s ease forwards;
  animation-delay: 1.3s;
}

.hero-link {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.25rem;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.hero-link:hover {
  color: var(--text-link-hover);
  border-color: rgba(194, 149, 122, 0.4);
}

/* ---- page header (inner pages) ---- */

.page-header {
  margin-bottom: 4rem;
  padding-top: 2rem;
}

.page-title {
  font-family: var(--font-wordmark);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: normal;
  color: var(--text);
  line-height: 1;
  font-kerning: none;
  letter-spacing: -0.01em;
  opacity: 0;
  animation: fadeUp 1.6s ease forwards;
  animation-delay: 0.2s;
}

/* ---- about page ---- */

.about-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
  max-width: 1000px;
}

.about-bio p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.95;
  color: var(--text);
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: fadeUp 1.6s ease forwards;
}

.about-bio p:nth-child(1) { animation-delay: 0.3s; }
.about-bio p:nth-child(2) { animation-delay: 0.5s; }
.about-bio p:nth-child(3) { animation-delay: 0.7s; }

.about-details {
  opacity: 0;
  animation: fadeUp 1.6s ease forwards;
  animation-delay: 0.5s;
}

.detail-group {
  margin-bottom: 2.5rem;
}

.detail-label {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--text-dim);
  margin-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.detail-value {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.8;
}

/* ---- media page ---- */

.media-section {
  margin-bottom: 4rem;
  opacity: 0;
  animation: fadeUp 1.6s ease forwards;
}

.media-section:nth-child(1) { animation-delay: 0.3s; }
.media-section:nth-child(2) { animation-delay: 0.5s; }
.media-section:nth-child(3) { animation-delay: 0.7s; }

.media-section-label {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.media-placeholder {
  background: rgba(140, 160, 200, 0.02);
  border: 1px solid var(--border);
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--text-dim);
  min-height: 120px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.media-grid .media-placeholder {
  min-height: 180px;
  background: var(--bg);
}

/* ---- news page ---- */

.news-placeholder {
  padding: 2rem 0;
  opacity: 0;
  animation: fadeUp 1.6s ease forwards;
  animation-delay: 0.3s;
}

.news-placeholder p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.9;
}

.news-item {
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
  opacity: 0;
  animation: fadeUp 1.6s ease forwards;
}

.news-item:nth-child(1) { animation-delay: 0.3s; }
.news-item:nth-child(2) { animation-delay: 0.45s; }
.news-item:nth-child(3) { animation-delay: 0.6s; }

.news-date {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  margin-bottom: 0.8rem;
}

.news-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.6rem;
  font-weight: 300;
}

.news-body {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.75;
  font-style: italic;
}

/* ---- merch page ---- */

.merch-intro {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-dim);
  line-height: 1.95;
  max-width: 520px;
  margin-bottom: 3.5rem;
  opacity: 0;
  animation: fadeUp 1.6s ease forwards;
  animation-delay: 0.3s;
}

.merch-links {
  display: flex;
  flex-direction: column;
  gap: 1px;
  max-width: 320px;
  opacity: 0;
  animation: fadeUp 1.6s ease forwards;
  animation-delay: 0.6s;
}

.merch-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 1.6rem;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.merch-link + .merch-link {
  border-top: none;
}

.merch-link:hover {
  border-color: rgba(194, 149, 122, 0.35);
  color: var(--text-link-hover);
  background: rgba(168, 120, 90, 0.03);
}

.merch-link-arrow {
  font-size: 0.85rem;
  opacity: 0.4;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.merch-link:hover .merch-link-arrow {
  opacity: 0.8;
  transform: translateX(3px);
}

/* ---- footer ---- */

footer {
  padding: 2rem 3rem;
  position: relative;
  z-index: 10;
}

.footer-inner {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-wordmark {
  font-family: var(--font-wordmark);
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.footer-wordmark:hover {
  opacity: 1;
}

.footer-copy {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  opacity: 0.4;
}

/* ---- animations ---- */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- responsive ---- */

@media (max-width: 900px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 1.5rem 1.5rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  main {
    padding: 7rem 1.5rem 3rem;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 12, 18, 0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    z-index: 150;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 0.9rem;
    letter-spacing: 0.22em;
  }

  .hero-wordmark {
    font-size: clamp(3.5rem, 18vw, 5rem);
  }
}
