/* =========================
   PECULIAR MEDIA CO.
   ========================= */

:root {
  --black: #0d0d0d;
  --dark: #151515;
  --card: #191919;
  --white: #f2efe6;
  --muted: #aaa69c;
  --line: #383838;
  --accent: #d4743b;
  --max-width: 1180px;
}


/* RESET */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}


/* GLOBAL */

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 30px;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 35px;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}


/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 13, 13, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
}

nav {
  display: flex;
  gap: 26px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

nav a:hover {
  color: var(--white);
}


/* =========================
   HOME PAGE
   ========================= */


/* HERO */

.hero {
  min-height: 82vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);

  background:
    linear-gradient(
      90deg,
      rgba(13, 13, 13, 0.97) 0%,
      rgba(13, 13, 13, 0.90) 28%,
      rgba(13, 13, 13, 0.68) 52%,
      rgba(13, 13, 13, 0.34) 78%,
      rgba(13, 13, 13, 0.18) 100%
    ),
    url("/hero-console.jpeg");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-content {
  padding-top: 90px;
  padding-bottom: 90px;
}

.hero-copy {
  max-width: 670px;
  color: var(--muted);
  font-size: 1.2rem;
}

.hero-buttons {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}


/* BUTTONS */

.button {
  display: inline-block;
  padding: 14px 20px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--white);
}

.button.primary {
  background: var(--white);
  color: var(--black);
}

.button.primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.button.secondary:hover {
  background: var(--white);
  color: var(--black);
}


/* HOME CARDS */

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

.feature-card {
  min-height: 330px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
}

.feature-card p {
  color: var(--muted);
}

.feature-card strong {
  margin-top: auto;
}

a.feature-card {
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

a.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.card-number {
  margin-bottom: 45px;
  color: var(--accent);
  font-family: monospace;
}


/* HOME FIELD GUIDE CALLOUT */

.field-guide-callout {
  background: var(--white);
  color: var(--black);
}

.callout-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.callout-layout .eyebrow {
  color: #9b4d22;
}

.callout-layout p {
  max-width: 540px;
  font-size: 1.08rem;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 800;
}


/* CONTACT */

.contact {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.contact > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.15rem;
}

.contact-links {
  margin-top: 35px;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.contact-links a {
  font-weight: 700;
}


/* =========================
   SIMPLE FIELD GUIDE PAGE
   ========================= */

.simple-field-hero {
  padding: 90px 0 55px;
  border-bottom: 1px solid var(--line);
}

.simple-field-hero h1 {
  max-width: 950px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
}

.simple-field-intro {
  max-width: 760px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 1.15rem;
}

.simple-field-note {
  margin-bottom: 28px;
  color: var(--white);
  font-weight: 700;
}


/* SEARCH */

.simple-search-wrap {
  max-width: 760px;
}

.simple-search {
  width: 100%;
  padding: 17px 18px;
  background: var(--card);
  color: var(--white);
  border: 1px solid var(--line);
  font: inherit;
  font-size: 1rem;
  outline: none;
}

.simple-search::placeholder {
  color: var(--muted);
}

.simple-search:focus {
  border-color: var(--accent);
}


/* FIELD GUIDE SECTIONS */

.simple-field-section {
  padding: 65px 0;
}


/* TOPICS */

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

.topic-card {
  padding: 22px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
  transition: border-color 0.2s ease;
}

.topic-card:hover {
  border-color: var(--accent);
}


/* RESOURCE LIST */

.simple-resource-list {
  border-top: 1px solid var(--line);
}

.simple-resource {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition:
    background 0.2s ease,
    padding 0.2s ease;
}

.simple-resource:hover {
  background: var(--card);
  padding-left: 18px;
  padding-right: 18px;
}

.resource-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.simple-resource h3 {
  margin-bottom: 8px;
  font-size: 1.55rem;
}

.simple-resource p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.resource-arrow {
  font-size: 1.8rem;
}


/* FIELD GUIDE BOTTOM CALLOUT */

.simple-field-footer-callout {
  padding: 55px 0;
  background: var(--white);
  color: var(--black);
}

.simple-field-footer-callout p {
  max-width: 760px;
  font-size: 1.08rem;
}

.simple-field-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

.simple-field-links a {
  font-weight: 700;
}


/* =========================
   FOOTER
   ========================= */

footer {
  padding: 35px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 800px) {

  .section {
    padding: 70px 0;
  }


  /* HEADER */

  .nav {
    padding: 17px 0;
    align-items: flex-start;
  }

  nav {
    display: none;
  }


  /* HOME HERO */

  .hero {
    min-height: auto;

    background:
      linear-gradient(
        180deg,
        rgba(13, 13, 13, 0.58) 0%,
        rgba(13, 13, 13, 0.80) 45%,
        rgba(13, 13, 13, 0.97) 100%
      ),
      url("/hero-console.jpeg");

    background-size: cover;
    background-position: 58% center;
    background-repeat: no-repeat;
  }

  .hero-content {
    padding-top: 100px;
    padding-bottom: 90px;
  }

  .hero-copy {
    font-size: 1.05rem;
  }


  /* HOME CONTENT */

  .card-grid,
  .callout-layout {
    grid-template-columns: 1fr;
  }

  .callout-layout {
    gap: 25px;
  }


  /* FIELD GUIDE */

  .simple-field-hero {
    padding: 65px 0 42px;
  }

  .simple-field-hero h1 {
    font-size: clamp(2.7rem, 12vw, 4rem);
    line-height: 0.92;
  }

  .simple-field-intro {
    font-size: 1rem;
  }

  .simple-field-section {
    padding: 48px 0;
  }

  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .topic-card {
    padding: 18px 16px;
  }

  .simple-resource {
    grid-template-columns: 1fr auto;
    gap: 15px;
    padding: 24px 0;
  }

  .simple-resource:hover {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
  }

  .simple-resource h3 {
    font-size: 1.35rem;
    line-height: 1.1;
  }

  .simple-resource p {
    font-size: 0.95rem;
  }

  .resource-arrow {
    font-size: 1.5rem;
  }

  .simple-field-links {
    flex-direction: column;
    gap: 12px;
  }


  /* FOOTER */

  .footer-inner {
    flex-direction: column;
  }

}


/* EXTRA SMALL PHONES */

@media (max-width: 420px) {

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

  .hero-buttons {
    flex-direction: column;
  }

  .button {
    width: 100%;
    text-align: center;
  }

}

/* =========================
   MIX REFERENCE LIBRARY
   ========================= */

.reference-hero {
  padding: 90px 0 55px;
  border-bottom: 1px solid var(--line);
}

.reference-hero h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
}

.reference-intro {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
}


/* SEARCH + FILTERS */

.reference-tools {
  padding: 50px 0;
  border-bottom: 1px solid var(--line);
}

#reference-search {
  width: 100%;
  max-width: 760px;
  padding: 17px 18px;
  background: var(--card);
  color: var(--white);
  border: 1px solid var(--line);
  font: inherit;
  font-size: 1rem;
  outline: none;
}

#reference-search::placeholder {
  color: var(--muted);
}

#reference-search:focus {
  border-color: var(--accent);
}

.reference-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.filter-button {
  padding: 10px 15px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.active {
  color: var(--black);
  background: var(--accent);
  border-color: var(--accent);
}


/* LIBRARY */

.reference-results {
  padding: 65px 0 90px;
}

.reference-entry {
  padding: 35px 0;
  border-top: 1px solid var(--line);
}

.reference-entry:last-child {
  border-bottom: 1px solid var(--line);
}

.reference-entry-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
}

.reference-number {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-family: monospace;
}

.reference-entry h2 {
  margin-bottom: 4px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.reference-artist {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.reference-genre {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.reference-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.reference-tags span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.reference-notes {
  max-width: 760px;
}

.reference-notes strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.reference-notes p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

#no-reference-results {
  padding: 30px 0;
  color: var(--muted);
}


/* MOBILE */

@media (max-width: 800px) {

  .reference-hero {
    padding: 65px 0 42px;
  }

  .reference-hero h1 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .reference-intro {
    font-size: 1rem;
  }

  .reference-tools {
    padding: 40px 0;
  }

  .reference-entry {
    padding: 28px 0;
  }

  .reference-entry-heading {
    display: block;
  }

  .reference-genre {
    display: inline-block;
    margin-top: 12px;
  }

  .reference-entry h2 {
    font-size: 2rem;
  }

  .reference-notes p {
    font-size: 0.98rem;
  }

}
