/* kilderstone.com — Editorial Gaming Guide (1986 Theme) */
/* Palette: cream #f5f3f0 / ink #1a1816 / coral #c85a37 / hairlines #d9d3cd */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background-color: #f5f3f0;
  color: #1a1816;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  margin-bottom: 1.2rem;
  border-top: 1px solid #d9d3cd;
  padding-top: 1.5rem;
  margin-top: 3rem;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 0.8rem;
}

p {
  margin-bottom: 1.2rem;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
}

a {
  color: #c85a37;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

a:hover {
  border-bottom-color: #c85a37;
}

/* Header & Navigation */
header {
  background-color: #fdfbf9;
  border-bottom: 1px solid #d9d3cd;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 5vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #c85a37;
  letter-spacing: 0.05em;
}

nav ul {
  display: flex;
  list-style: none;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1a1816;
  border-bottom: 1px solid transparent;
}

nav a:hover {
  border-bottom-color: #c85a37;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #1a1816;
  padding: 0;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: #fdfbf9;
    border-top: 1px solid #d9d3cd;
    border-bottom: 1px solid #d9d3cd;
    padding: 1.5rem;
    gap: 1rem;
    align-items: flex-start;
  }

  nav ul.active {
    display: flex;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Main Content */
main {
  padding: clamp(2rem, 8vw, 4rem) clamp(1rem, 5vw, 3rem);
}

section {
  margin-bottom: clamp(3rem, 10vw, 5rem);
}

/* Hero Section */
.hero {
  padding: clamp(2rem, 10vw, 5rem) clamp(1rem, 5vw, 3rem);
  margin-bottom: clamp(3rem, 12vw, 6rem);
}

.hero h1 {
  margin-bottom: 0.5rem;
}

.hero .subheading {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-style: italic;
  color: #5a5450;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero .trust-line {
  font-size: 0.95rem;
  color: #c85a37;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.cta-primary {
  display: inline-block;
  background-color: #c85a37;
  color: #fdfbf9;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  border: 2px solid #c85a37;
  border-radius: 2px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.cta-primary:hover {
  background-color: transparent;
  color: #c85a37;
  border-color: #c85a37;
}

/* About Section */
.about {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem);
  border: 1px solid #d9d3cd;
}

.about h2 {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.about p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* Game Grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 3rem;
}

.game-card {
  border: 1px solid #d9d3cd;
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: all 0.3s ease;
  background-color: #fdfbf9;
}

.game-card:hover {
  box-shadow: 0 8px 24px rgba(26, 24, 22, 0.08);
  transform: translateY(-2px);
  border-color: #c85a37;
}

.game-card img {
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  display: block;
  border-radius: 2px;
}

.game-title {
  font-family: Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1a1816;
}

.game-meta {
  font-size: 0.85rem;
  color: #5a5450;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.game-description {
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  line-height: 1.7;
  color: #333;
}

.game-highlights {
  list-style: none;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.game-highlights li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: #5a5450;
}

.game-highlights li:before {
  content: "▪";
  position: absolute;
  left: 0;
  color: #c85a37;
  font-weight: bold;
}

.game-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cta-button {
  flex: 1;
  min-width: 140px;
  padding: 0.65rem 1rem;
  background-color: #c85a37;
  color: #fdfbf9;
  border: 2px solid #c85a37;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  background-color: transparent;
  color: #c85a37;
}

.cta-button.secondary {
  background-color: transparent;
  color: #c85a37;
}

.cta-button.secondary:hover {
  background-color: #c85a37;
  color: #fdfbf9;
}

/* FAQ Section */
.faq {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem);
}

.faq-item {
  border-bottom: 1px solid #d9d3cd;
  padding: clamp(1.5rem, 3vw, 2rem) 0;
}

.faq-question {
  font-family: Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  color: #1a1816;
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.faq-question .toggle {
  color: #c85a37;
  font-weight: bold;
  flex-shrink: 0;
}

.faq-answer {
  margin-top: 1rem;
  line-height: 1.8;
  color: #5a5450;
  max-height: 500px;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 1;
}

.faq-answer.hidden {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}

/* Crew Section */
.crew {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  margin: 3rem 0;
}

.crew-member {
  text-align: center;
}

.crew-photo {
  width: 100%;
  aspect-ratio: 1;
  background-color: #e8e3dd;
  border-radius: 50%;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #c85a37;
}

.crew-name {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.crew-role {
  font-size: 0.9rem;
  color: #c85a37;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem);
  border: 1px solid #d9d3cd;
  background-color: #fdfbf9;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d9d3cd;
  font-family: inherit;
  font-size: 0.95rem;
  color: #1a1816;
  background-color: #ffffff;
  border-radius: 2px;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #c85a37;
  box-shadow: 0 0 0 3px rgba(200, 90, 55, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  cursor: pointer;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
}

.form-button {
  background-color: #c85a37;
  color: #fdfbf9;
  padding: 0.85rem 2rem;
  border: 2px solid #c85a37;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s ease;
  width: 100%;
}

.form-button:hover {
  background-color: transparent;
  color: #c85a37;
}

/* Footer */
footer {
  background-color: #fdfbf9;
  border-top: 1px solid #d9d3cd;
  padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 5vw, 3rem);
  margin-top: clamp(3rem, 10vw, 5rem);
}

footer section {
  margin-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid #d9d3cd;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #5a5450;
}

.disclaimer {
  font-size: 0.75rem;
  color: #7a6f68;
  line-height: 1.6;
  margin-top: 1rem;
}

/* 404 Page */
.not-found {
  text-align: center;
  padding: clamp(3rem, 15vw, 6rem) clamp(1rem, 5vw, 3rem);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.not-found h1 {
  font-size: clamp(3rem, 12vw, 6rem);
  margin-bottom: 0;
  color: #c85a37;
}

.not-found p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: clamp(3rem, 15vw, 6rem) clamp(1rem, 5vw, 3rem);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you h1 {
  color: #c85a37;
  margin-bottom: 1rem;
}

.thank-you p {
  font-size: 1.05rem;
  color: #5a5450;
  margin-bottom: 2rem;
}

/* Policy Pages */
.policy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem);
  line-height: 1.8;
}

.policy-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
}

.policy-content ol,
.policy-content ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

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

  .crew {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
  }

  .hero {
    padding: 1.5rem 1rem;
  }
}

/* Utilities */
.noindex {
  /* For robots.txt noindex pages */
}

.full-bleed {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Game Sections */
.game-section {
  margin-bottom: clamp(3rem, 8vw, 5rem);
  border: 1px solid #d9d3cd;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background-color: #fdfbf9;
}

.game-section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
}

.game-section-text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.game-section-image img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  display: block;
}

/* Updated Crew Section */
.crew {
  margin: 3rem 0;
}

.crew h2 {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.crew-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(2rem, 4vw, 3rem);
}

.crew-member {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #d9d3cd;
  background-color: #fdfbf9;
}

.crew-photo {
  width: 80px;
  height: 80px;
  aspect-ratio: 1;
  background-color: #e8e3dd;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #c85a37;
}

.crew-info {
  flex: 1;
}

.crew-name {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.crew-role {
  font-size: 0.9rem;
  color: #c85a37;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.crew-bio {
  font-size: 0.9rem;
  color: #5a5450;
  line-height: 1.6;
}

/* Tips Section */
.tips {
  margin: clamp(3rem, 10vw, 5rem) 0;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.tip-card {
  border: 1px solid #d9d3cd;
  padding: clamp(1.5rem, 3vw, 2rem);
  background-color: #fdfbf9;
}

.tip-card h3 {
  font-family: Georgia, serif;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  margin-bottom: 0.75rem;
  color: #1a1816;
}

.tip-card p {
  font-size: 0.95rem;
  color: #5a5450;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.tip-card ul {
  list-style: none;
  font-size: 0.9rem;
}

.tip-card ul li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: #5a5450;
}

.tip-card ul li:before {
  content: "▪";
  position: absolute;
  left: 0;
  color: #c85a37;
  font-weight: bold;
}

/* Responsive for game sections */
@media (max-width: 768px) {
  .game-section-content {
    grid-template-columns: 1fr;
  }
  
  .game-section-image {
    order: -1;
  }
  
  .crew-member {
    flex-direction: column;
    text-align: center;
  }
}
