body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #fdfdfd;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
}

.site-nav__inner {
  max-width: 1200px;
  min-height: 68px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-nav__brand {
  color: #111827;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav__links a {
  color: #4b5563;
  text-decoration: none;
}

.site-nav__links a:hover,
.site-nav__links a:focus-visible {
  color: #2563eb;
}

.hero {
  width: 100%;
  height: clamp(380px, 45vw, 600px);
  min-height: 380px;
  max-height: 600px;
  background: #111;
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 900ms ease-in-out;
  z-index: 1;
}

.hero-image.is-active {
  opacity: 1;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  z-index: 3;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.22));
  padding: 0 20px;
}

/* Brand name — visual display element, not the H1 */
.hero-brand {
  font-size: clamp(2.5rem, 10vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: 6px;
  margin: 0;
  font-weight: 900;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
  line-height: 1;
}

/* H1 — keyword-rich */
.hero h1 {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 500;
  margin: 14px 0 0;
  opacity: 0.92;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  max-width: 700px;
  text-transform: none;
}

.hero-tagline {
  font-size: clamp(0.875rem, 2vw, 1.1rem);
  margin-top: 8px;
  font-weight: 400;
  opacity: 0.75;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
  max-width: 600px;
}

.hero-cta {
  display: inline-block;
  margin-top: 28px;
  background: #D4860A;
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: background 0.2s, transform 0.2s;
}

.hero-cta:hover {
  background: #b8720a;
  transform: translateY(-2px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.guide-hub {
  max-width: 1200px;
  margin: -26px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 4;
}

.guide-hub__panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  padding: clamp(18px, 2.5vw, 26px);
}

.guide-hub__eyebrow {
  color: #2563eb;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 4px;
}

.guide-hub h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  letter-spacing: -0.04em;
}

.guide-hub__intro {
  color: #4b5563;
  margin: 6px 0 14px;
  max-width: 820px;
  line-height: 1.5;
}

.guide-search {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 4px 14px;
}

.guide-search:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.guide-search span { font-size: 1.2rem; }

.guide-search input {
  appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  padding: 10px 0;
  width: 100%;
}

.guide-filter-group {
  margin-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.guide-filter-group summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  margin-bottom: 0;
}

.guide-filter-group summary::-webkit-details-marker { display: none; }

.guide-filter-group summary::after {
  content: '+';
  color: #2563eb;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
}

.guide-filter-group[open] summary::after { content: '−'; }

.guide-view {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.guide-view__label {
  color: #374151;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  text-transform: uppercase;
}

#guide-selection:empty { display: none; }

.guide-filter-label small {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.guide-filter-label {
  display: block;
  color: #374151;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.guide-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0 0 12px;
}

.guide-filter {
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 999px;
  color: #374151;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 9px 14px;
}

.guide-filter:hover,
.guide-filter:focus-visible,
.guide-filter.is-active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.guide-results {
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 600;
  margin: 12px 0 0;
}

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

article {
  background: white;
  border-radius: 20px;
  border: 1px solid #f0f0f0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

article:hover {
  transform: translateY(-8px);
}

.guide-card[hidden] { display: none; }

.guide-empty {
  background: #f8fafc;
  border: 1px dashed #94a3b8;
  border-radius: 16px;
  color: #475569;
  margin: 0;
  padding: 32px;
  text-align: center;
}

.card-thumb {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}

.card-body {
  padding: 35px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

h2 a {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 1.5rem;
  line-height: 1.3;
}

.card-desc {
  color: #666;
  line-height: 1.8;
  margin-top: 15px;
  font-size: 0.95rem;
  flex: 1;
}

.btn {
  align-self: flex-start;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white !important;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 24px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.coming-soon {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  border-radius: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-image {
    transition: none;
  }
}

@media (max-width: 640px) {
  .site-nav__inner { min-height: auto; padding: 14px 20px; align-items: flex-start; }
  .site-nav__links { gap: 12px; flex-wrap: wrap; justify-content: flex-end; font-size: 0.8rem; }
  .guide-hub { margin-top: -22px; }
  .guide-filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; }
  .guide-filter { white-space: nowrap; }
}
