/* ==============================
   MORI — THE BLACK DOG
   NEOCITIES SITE STYLESHEET
   ============================== */

:root {
  --bg: #0d0d10;
  --bg-soft: #15151a;
  --panel: rgba(23, 22, 29, 0.92);

  --text: #e7e2e8;
  --muted: #aaa2af;

  --purple: #786583;
  --purple-light: #ab96b7;
  --gold: #c5a66d;
  --gold-light: #e3cca0;

  --border: rgba(171, 150, 183, 0.28);

  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(90, 65, 105, 0.16), transparent 40%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.7;
}

/* subtle old-web grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("images/bg-texture.png");
  z-index: 999;
}

/* ==============================
   LINKS
   ============================== */

a {
  color: var(--purple-light);
  text-decoration: none;
  transition: 0.2s ease;
}

a:hover {
  color: var(--gold-light);
}

/* ==============================
   LAYOUT
   ============================== */

.site-wrapper {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

main {
  min-height: 70vh;
}

/* ==============================
   NAVIGATION
   ============================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 16, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
  min-height: 74px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--text);
}

.brand span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.93rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
}

/* ==============================
   HERO
   ============================== */

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  padding: 70px 0;
}

.hero-eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  margin-bottom: 12px;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: normal;
  line-height: 0.95;
}

.hero h1 span {
  color: var(--purple-light);
}

.hero-subtitle {
  margin: 25px 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-block;
  padding: 11px 22px;
  border: 1px solid var(--purple);
  border-radius: 3px;
  color: var(--text);
  background: rgba(120, 101, 131, 0.12);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.button:hover {
  background: var(--purple);
  color: white;
}

.button.secondary {
  border-color: rgba(197, 166, 109, 0.45);
  background: rgba(197, 166, 109, 0.06);
}

.button.secondary:hover {
  background: var(--gold);
  color: #17130e;
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-art img {
  width: min(100%, 530px);
  max-height: 680px;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(120, 101, 131, 0.22));
}

.hero-art::after {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(
    circle,
    rgba(120, 101, 131, 0.2),
    transparent 70%
  );
  z-index: -1;
  top: 20%;
}

/* ==============================
   GENERAL SECTIONS
   ============================== */

.section {
  padding: 85px 0;
}

.section-heading {
  margin-bottom: 35px;
}

.section-label {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 5px 0 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: normal;
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--border),
    transparent
  );
}

/* ==============================
   CARDS
   ============================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 4px;
}

.card h3 {
  font-family: var(--serif);
  font-weight: normal;
  font-size: 1.4rem;
  margin-top: 0;
}

.card p {
  color: var(--muted);
}

/* ==============================
   ABOUT
   ============================== */

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 55px;
  align-items: start;
}

.profile-card {
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 14px;
}

.profile-card img {
  width: 100%;
  display: block;
}

.fact-list {
  list-style: none;
  padding: 0;
}

.fact-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.fact-list strong {
  color: var(--text);
  display: inline-block;
  width: 105px;
}

/* ==============================
   MODEL GALLERY
   ============================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.model-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  overflow: hidden;
  border-radius: 4px;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.model-card:hover {
  transform: translateY(-5px);
  border-color: var(--purple-light);
}

.model-image {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(
      circle at center,
      rgba(120, 101, 131, 0.18),
      transparent 65%
    ),
    #111116;

  overflow: hidden;
}

.model-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  transition: transform 0.35s ease;
}

.model-card:hover .model-image img {
  transform: scale(1.025);
}

.model-info {
  padding: 22px;
}

.model-number {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.model-info h2 {
  font-family: var(--serif);
  font-weight: normal;
  margin: 4px 0 8px;
}

.model-info p {
  color: var(--muted);
  margin-bottom: 0;
}

.model-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.tag {
  border: 1px solid rgba(171, 150, 183, 0.2);
  padding: 4px 8px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* CURRENT MODEL BADGE */

.current-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;

  background: var(--gold);
  color: #15110b;

  padding: 5px 9px;
  font-size: 0.65rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ==============================
   CREDITS
   ============================== */

.credit-list {
  display: grid;
  gap: 12px;
}

.credit-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.credit-type {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
}

.credit-name {
  color: var(--text);
}

/* ==============================
   FOOTER
   ============================== */

footer {
  margin-top: 90px;
  border-top: 1px solid var(--border);
  padding: 35px 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-content {
  width: min(1180px, calc(100% - 32px));
  margin: auto;

  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* ==============================
   PAGE HERO
   ============================== */

.page-hero {
  padding: 90px 0 55px;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: normal;
  margin: 0;
}

.page-hero p {
  color: var(--muted);
  max-width: 700px;
  margin-top: 18px;
}

/* ==============================
   MOBILE
   ============================== */

@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-art {
    order: -1;
  }

  .hero-art img {
    max-height: 500px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .navbar {
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .gallery-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .credit-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .footer-content {
    flex-direction: column;
  }
}