/* ODDLY FERAL FLOSS */
/* Stitch strange. Stay feral. */

/* ODDLY FERAL FLOSS */
/* Stitch strange. Stay feral. */

:root {
  --background: #171923;
  --surface: #252735;
  --text: #f5f0e8;
  --accent: #a3b18a;
  --copper: #c98b63;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: system-ui, sans-serif;
  line-height: 1.6;
}

header {
  padding: 24px;
  text-align: center;
  border-bottom: 1px solid #444;
}

nav a {
  color: var(--accent);
  margin: 0 12px;
  text-decoration: none;
}

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

main {
  max-width: 1000px;
  margin: auto;
  padding: 48px 24px;
}

.hero {
  text-align: center;
  padding: 60px 0;
}

h1 {
  font-size: clamp(2rem, 6vw, 4rem);
}

h2 {
  color: var(--accent);
}

.tagline {
  color: var(--accent);
  font-size: 1.4rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  padding: 28px;
  border-radius: 12px;
}

a.card {
  display: block;
  color: inherit;
  text-decoration: none;
}

a.card:hover {
  cursor: pointer;
  outline: 1px solid var(--copper);
}

button,
.button {
  display: inline-block;
  padding: 12px 22px;
  background: var(--copper);
  color: var(--background);
  border: none;
  border-radius: 6px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

button:hover,
.button:hover {
  background: var(--accent);
}

footer {
  text-align: center;
  padding: 30px;
  color: #aaa;
}

@media (max-width: 600px) {
  main {
    padding: 24px 16px;
  }

  .hero {
    padding: 36px 0;
  }

  nav a {
    display: inline-block;
    margin: 6px 10px;
  }
}
/* CONTACT US PAGE */

.contact-page main {
  max-width: 900px;
  padding: 60px 24px;
}

.contact-page .intro {
  text-align: center;
  margin-bottom: 50px;
}

.contact-page .card {
  margin-bottom: 20px;
}

.contact-page .card a {
  color: var(--accent);
  overflow-wrap: anywhere;
}

.contact-page nav a:hover {
  text-decoration: underline;
}

/* CONTACT PAGE REFINEMENTS */

.contact-page .card {
  margin-bottom: 24px;
}

.contact-page .card a {
  color: var(--copper);
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-page .card a:hover {
  color: var(--accent);
  text-decoration: underline;
}
/* THE PATTERN HOARD */

.pattern-hoard-page main {
  max-width: 1100px;
  padding: 60px 24px;
}

.pattern-hoard-page .intro {
  text-align: center;
  margin-bottom: 50px;
}

.pattern-hoard-page .card {
  margin-bottom: 20px;
}

.pattern-hoard-page .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.pattern-hoard-page .product {
  background: var(--surface);
  padding: 24px;
  border-radius: 12px;
}

.pattern-hoard-page .product-image {
  background: #354258;
  aspect-ratio: 1;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #ddd;
  margin-bottom: 16px;
}

.pattern-hoard-page .product h3 {
  margin-bottom: 8px;
}

.pattern-hoard-page .price {
  color: var(--copper);
  font-weight: bold;
}
/* STITCH & TELL PAGE */

.stitch-and-tell-page main {
  max-width: 1000px;
  padding: 60px 24px;
}

.stitch-and-tell-page .intro {
  text-align: center;
  margin-bottom: 60px;
}

.stitch-and-tell-page .card {
  padding: 18px 24px;
  margin-bottom: 16px;
}

.stitch-and-tell-page nav a:hover {
  text-decoration: underline;
}
/* THE COMMUNITY PAGE */

.community-page main {
  max-width: 1000px;
  padding: 60px 24px;
}

.community-page .intro {
  text-align: center;
  margin-bottom: 60px;
}

.community-page .card {
  padding: 18px 24px;
  margin-bottom: 24px;
}

.community-page .card + .card {
  margin-top: 24px;
}

.community-page nav a:hover {
  text-decoration: underline;
}

