/* Plaid Fox Press — shared site styles */

:root {
  --color-bg: #faf6ee;
  --color-surface: #ffffff;
  --color-text: #2b2620;
  --color-text-muted: #6b6255;
  --color-primary: #2f5233;      /* forest green */
  --color-primary-dark: #223d26;
  --color-secondary: #b1443f;    /* brick red */
  --color-accent: #e0a531;       /* mustard gold */
  --color-navy: #22344a;
  --color-border: #e6ddc9;

  --radius: 14px;
  --shadow: 0 4px 14px rgba(43, 38, 32, 0.08);
  --shadow-hover: 0 10px 24px rgba(43, 38, 32, 0.14);

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.55;
}

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

a {
  color: var(--color-primary);
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--color-text);
}

.brand-mark {
  font-size: 1.5rem;
  line-height: 1;
}

.site-nav {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-primary);
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 20px 0 0;
}

.breadcrumbs a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--color-primary);
}

/* Plaid pattern strip — a small nod to the name, no real brand art needed */

.plaid-strip {
  height: 10px;
  background:
    repeating-linear-gradient(
      45deg,
      var(--color-primary) 0 10px,
      var(--color-secondary) 10px 20px,
      var(--color-accent) 20px 30px,
      var(--color-primary-dark) 30px 40px
    );

}

/* Hero */

.hero {
  background: var(--color-primary);
  background-image:
    linear-gradient(160deg, rgba(0,0,0,0.08), rgba(0,0,0,0) 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 26px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 26px);
  color: #fff;
  padding: 72px 0;
}

.hero-inner {
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 16px;
  line-height: 1.15;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 28px;
}

.hero.hero-explorers {
  background: var(--color-navy);
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-navy);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-ghost {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Sections */

.section {
  padding: 64px 0;
}

.section-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
}

.section-heading h2 {
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.section-muted {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* Series grid / cards */

.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-media {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.25rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-navy));
}

.card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-body h3 {
  margin: 0;
  font-size: 1.25rem;
}

.card-body p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  flex: 1;
}

.card-cta {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.9rem;
}

.card.card-coming-soon {
  opacity: 0.65;
  cursor: default;
}

.card.card-coming-soon:hover {
  transform: none;
  box-shadow: var(--shadow);
}

.badge-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-navy);
  align-self: flex-start;
}

/* How it works steps */

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

.step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.step-icon {
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

/* Book spotlight */

.book-spotlight {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.book-cover-placeholder {
  width: 220px;
  height: 280px;
  flex-shrink: 0;
  border-radius: 10px;
  background: url("/assets/img/badgeclub/bookcover.png");
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #fff;
  box-shadow: var(--shadow);
  margin: 0 auto;
  background-size: cover;
}

.book-info {
  flex: 1;
  min-width: 260px;
}

.book-info .eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  font-weight: 700;
  margin-bottom: 6px;
}

.book-info h2 {
  margin: 0 0 6px;
  font-size: 1.6rem;
}

.book-author {
  color: var(--color-text-muted);
  margin: 0 0 16px;
  font-size: 0.95rem;
}

.book-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.highlight-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.highlight-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.92rem;
}

.highlight-list li::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* Resources list */

.resource-list {
  display: grid;
  gap: 18px;
}

.resource-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.resource-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.resource-item h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.resource-item p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.notice {
  background: #fdf3de;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-top: 28px;
}

/* Footer */

.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 32px 0;
  font-size: 0.88rem;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 560px) {
  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }
}
