/* 
   FONTS & ROOT VARIABLES MOVED TO CRITICAL CSS IN LAYOUT 
   Removed from here to prevent redundant loading and layout shifts.
*/


html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 120px
}

body {
  font-family: var(--ff-sans);
  background: var(--cream);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased
}

img {
  display: block;
  max-width: 100%;
  height: auto
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color .2s
}

a:hover {
  color: var(--gold2)
}

ul {
  list-style: none
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--gold);
  color: var(--navy);
  transition: transform .2s;
  will-change: transform
}

.badge.red {
  background: #fde8e6;
  color: var(--red)
}

.badge.green {
  background: #d4f0e2;
  color: var(--green)
}

.badge.navy {
  background: var(--navy);
  color: var(--gold)
}

.badge-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  transition: opacity .2s, transform .2s;
  will-change: opacity, transform;
  color: var(--white);
  background-color: var(--navy2)
}

.badge-category:hover {
  opacity: 0.9;
  transform: translateY(-1px)
}

.badge-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
  font-size: 14px
}

.rating-score {
  font-family: var(--ff-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1
}

.rating-label {
  font-size: 12px;
  color: var(--gray)
}

/* 
   HEADER & TOPBAR MOVED TO CRITICAL CSS 
   Removing from here to prevent layout shifts during async load.
*/

.logo-name {
  font-family: var(--ff-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -.02em
}

.logo-name span {
  color: var(--gold3)
}

.logo-tagline {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #374151 !important;
  font-weight: 700
}

nav {
  display: flex;
  gap: 4px;
  align-items: center
}

nav a {
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--r);
  color: var(--navy);
  transition: background .2s, color .2s
}

nav a:hover {
  background: var(--cream);
  color: var(--gold)
}

nav a.active {
  color: var(--gold);
  font-weight: 600
}

.header-cta {
  background: var(--navy);
  color: var(--gold2) !important;
  border-radius: var(--r);
  padding: 9px 18px !important;
  font-weight: 600 !important
}

.header-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important
}

.cat-nav {
  background: var(--navy);
  color: var(--white)
}

.cat-nav-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  max-width: 1200px;
  margin: 0 auto;
  scrollbar-width: none
}

.cat-nav a {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  padding: 12px 20px;
  color: rgba(249, 246, 240, .7);
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s
}

.cat-nav a:hover,
.cat-nav a.active {
  color: var(--gold2);
  border-bottom-color: var(--gold)
}

/* 
   HERO STYLE MOVED TO CRITICAL CSS 
*/

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(201, 168, 76, .12) 0%, transparent 70%);
  pointer-events: none
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: end
}

.hero h1 {
  font-family: var(--ff-serif);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 24px
}

.hero h1 em {
  color: var(--gold2);
  font-style: italic
}

.hero-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 36px
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--r);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.btn-primary:hover {
  background: var(--gold2);
  transform: translateY(-1px)
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--r);
  border: 1.5px solid rgba(255, 255, 255, .25);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold2)
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--navy)
}

.section-header h2 {
  font-family: var(--ff-serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -.02em
}

.section-header h2 span {
  color: var(--gold3)
}

.view-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 1.5px solid var(--navy)
}

.view-all:hover {
  color: var(--gold);
  border-bottom-color: var(--gold)
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px
}

.review-card,
.review-featured {
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--lgray);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s
}

.review-card:hover,
.review-featured:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg)
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px
}

.widget {
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--lgray)
}

.widget-head {
  background: var(--navy);
  color: var(--white);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px
}

.widget-head h3,
.widget-head h4 {
  font-family: var(--ff-serif);
  font-size: 16px;
  font-weight: 700
}

.widget-body {
  padding: 20px
}

nav[role="navigation"] {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--lgray);
  font-size: 14px
}

nav[role="navigation"] p.text-sm.text-gray-700.leading-5 {
  color: var(--gray);
  margin-bottom: 16px;
  text-align: center
}

nav[role="navigation"] span.relative.z-0.inline-flex.shadow-sm.rounded-md {
  display: inline-flex;
  box-shadow: var(--shadow-sm);
  border-radius: var(--r);
  background: var(--white)
}

@media (max-width:1024px) {
  .hero-inner {
    grid-template-columns: 1fr
  }

  .hero-card {
    display: none
  }

  .main-grid {
    grid-template-columns: 1fr
  }

  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px
  }

  .cat-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media (max-width:768px) {
  .review-grid {
    grid-template-columns: 1fr
  }

  .review-featured {
    grid-template-columns: 1fr
  }

  .cat-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  nav {
    display: none
  }

  .sidebar {
    grid-template-columns: 1fr
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.prose {
  color: var(--navy);
  max-width: none
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  font-family: var(--ff-serif);
  color: var(--navy);
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.2
}

.prose h1 {
  font-size: 2.25rem
}

.prose h2 {
  font-size: 1.875rem;
  border-bottom: 1px solid var(--lgray);
  padding-bottom: 0.3em
}

.prose h3 {
  font-size: 1.5rem
}

.prose p {
  margin-bottom: 1.25em;
  line-height: 1.8;
  font-size: 1.05rem
}

.prose blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 1.25em;
  font-style: italic;
  color: var(--gray);
  margin: 1.5em 0
}

.js-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease-out, transform .6s ease-out;
  will-change: opacity, transform
}

.js-reveal.active {
  opacity: 1;
  transform: translateY(0)
}