/* ============================================================
   Riser Chair Comparison — Premium Design System v3
   Deep forest green · Cormorant Garamond · DM Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

/* ─── CSS VARIABLES ─── */
:root {
  --forest:      #1a3c2e;
  --deep-green:  #1e4d3a;
  --mid-green:   #2e6b52;
  --sage:        #6b9e82;
  --sage-light:  #a8c8b4;
  --mint-tint:   #e8f2ed;
  --mint-pale:   #f3f8f5;

  --warm-white:  #faf9f6;
  --cream:       #f5f0e8;
  --sand:        #e8dfc8;
  --stone:       #c8bfaa;
  --warm-mid:    #8a8070;
  --warm-dark:   #3d3530;
  --ink:         #1c1a17;

  --gold:        #b8963e;
  --gold-light:  #d4ac5a;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --shadow-sm:   0 2px 8px rgba(26,60,46,0.07);
  --shadow-md:   0 6px 24px rgba(26,60,46,0.11);
  --shadow-lg:   0 16px 48px rgba(26,60,46,0.15);
  --transition:  0.26s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  color: var(--warm-dark);
  background: var(--warm-white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block;border-radius:20px; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.2;
  color: var(--forest);
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

.display-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.display-headline em { font-style: italic; color: var(--sage); }
.feature-icon svg{max-height: 40px;}
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 1.12rem; color: var(--warm-mid); line-height: 1.72; font-weight: 300; }

.label-caps {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
}

/* ─── LAYOUT ─── */
.container        { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: 760px; }
.container--wide   { max-width: 1280px; }

section { padding: 88px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header p { max-width: 520px; margin: 16px auto 0; color: var(--warm-mid); font-size: 1rem; }

.section-divider {
  width: 44px; height: 1.5px;
  background: linear-gradient(90deg, var(--sage), transparent);
  margin: 18px auto 22px;
  display: block;
}

/* ─── HEADER ─── */
.site-header {
 top: 0; z-index: 100;
  background: rgba(250,249,246,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(168,200,180,0.22);
  padding: 0 28px;
}
.header-inner {
  max-width: 1350px; margin: 0 auto;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-mark {
  width: 36px; height: 36px; background: var(--forest);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; color: var(--forest); letter-spacing: -0.01em; }
.logo-text span    { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); }

.header-nav { display: flex; align-items: center; gap: 36px; }
.nav-links   { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 0.84rem; font-weight: 500; color: var(--warm-dark);
  letter-spacing: 0.02em; transition: color var(--transition);
  position: relative;
}
.nav-links a::after { content:''; position:absolute; bottom:-2px; left:0; width:0; height:1.5px; background:var(--mid-green); transition:width var(--transition); }
.nav-links a:hover { color: var(--mid-green); }
.nav-links a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 16px; }

.phone-link {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 500; color: var(--mid-green);
  text-decoration: none; transition: color var(--transition);
}
.phone-link:hover { color: var(--forest); }
.phone-link svg   { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.phone-link.desktop { display: flex; }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 28px; padding: 4px 0; cursor: pointer; }
.hamburger span { display: block; height: 1.5px; background: var(--forest); border-radius: 2px; transition: var(--transition); }

.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: var(--warm-white); z-index: 200;
  padding: 28px 24px; flex-direction: column; gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-menu-close  { font-size: 1.6rem; color: var(--warm-dark); background: none; border: none; cursor: pointer; line-height: 1; }
.mobile-menu a { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 600; color: var(--forest); padding: 12px 0; border-bottom: 1px solid var(--mint-tint); display: block; transition: color var(--transition); }
.mobile-menu a:hover { color: var(--mid-green); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 30px; border-radius: var(--radius-md);
  font-size: 0.92rem; font-weight: 600; letter-spacing: 0.02em;
  transition: var(--transition); white-space: nowrap; text-decoration: none;
}
/* On dark hero backgrounds — white pill */
.btn-primary {
  background:#feb219;
  color: var(--forest);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-primary:hover { background: var(--mint-tint); transform: translateY(-1px); box-shadow: 0 6px 28px rgba(0,0,0,0.25); }

/* On light backgrounds — green pill */
.section-tint .btn-primary,
.section-cream .btn-primary,
.card .btn-primary {
  background: var(--deep-green); color: #fff;
  box-shadow: 0 4px 16px rgba(30,77,58,0.28);
}
.section-tint .btn-primary:hover,
.section-cream .btn-primary:hover,
.card .btn-primary:hover {
  background: var(--forest); box-shadow: 0 6px 24px rgba(30,77,58,0.36);
}

.btn-outline {
  background: transparent; color: var(--deep-green);
  border: 2px solid var(--mid-green);
}
.btn-outline:hover { background: var(--mint-tint); border-color: var(--deep-green); }

.btn-ghost {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.65); font-weight: 600;
}
.btn-ghost:hover { background: #fff; color: var(--forest); border-color: #fff; }

.btn-lg { padding: 17px 38px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform var(--transition); }
.btn:hover svg { transform: translateX(3px); }

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--mint-pale);
  padding: 18px 0;
  border-top: 1px solid rgba(168,200,180,0.28);
  border-bottom: 1px solid rgba(168,200,180,0.28);
}
.trust-bar-inner {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 28px;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 500; color: var(--deep-green);
}
.trust-item svg { width: 16px; height: 16px; stroke: var(--mid-green); fill: none; stroke-width: 2; flex-shrink: 0; }

/* ─── CARDS ─── */
.card {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(168,200,180,0.18);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-body    { padding: 28px 30px; }
.card-body-sm { padding: 20px 22px; }

/* ─── PROMISE GRID ─── */
.promise-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.promise-item {
  padding: 28px 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  text-align: center;
}
.promise-item h4 { color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; margin-bottom: 8px; }
.promise-item p  { font-size: 0.83rem; color: rgba(255,255,255,0.95); margin: 0; line-height: 1.6; }
.promise-icon {
  width: 46px; height: 46px; background: rgba(107,158,130,0.22);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.promise-icon svg { width: 22px; height: 22px; stroke: var(--sage-light); fill: none; stroke-width: 1.8; }

/* ─── STARS ─── */
.stars      { display: flex; gap: 3px; }
.stars svg  { width: 15px; height: 15px; fill: var(--gold); stroke: none; }
.stars .half { fill: var(--stone); }

/* ─── REVIEW CARDS ─── */
.review-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(168,200,180,0.18);
  display: flex; flex-direction: column; gap: 14px;
}
.review-card p { font-size: 0.9rem; color: var(--warm-dark); line-height: 1.65; font-style: italic; margin: 0; }
.reviewer-name { font-weight: 600; font-size: 0.83rem; color: var(--forest); }
.reviewer-info { font-size: 0.76rem; color: var(--warm-mid); }

/* ─── SCORE BAR ─── */
.score-number { font-family: 'Cormorant Garamond', serif; font-size: 3.2rem; font-weight: 600; color: var(--forest); line-height: 1; }
.score-bar-track { height: 7px; background: var(--mint-tint); border-radius: 4px; overflow: hidden; margin-top: 6px; }
.score-bar-fill  { height: 100%; background: linear-gradient(90deg, var(--mid-green), var(--sage)); border-radius: 4px; transition: width 1s cubic-bezier(0.4,0,0.2,1); }

/* ─── ARTICLE CARDS ─── */
.article-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(168,200,180,0.18);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex; flex-direction: column;
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.article-thumb { aspect-ratio: 16/9; background: var(--mint-tint); overflow: hidden; position: relative; }
.article-thumb img { width:100%;height:100%;object-fit:cover;transition:transform 0.5s ease; }
.article-card:hover .article-thumb img { transform: scale(1.04); }
.article-category { position:absolute;top:14px;left:14px; }
.article-content { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-meta { font-size: 0.76rem; color: var(--warm-mid); display: flex; gap: 14px; }
.article-title { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600; color: var(--forest); line-height: 1.3; transition: color var(--transition); }
.article-card:hover .article-title { color: var(--mid-green); }
.article-excerpt { font-size: 0.85rem; color: var(--warm-mid); line-height: 1.6; margin: 0; }
.article-read-more { margin-top: auto; font-size: 0.82rem; font-weight: 600; color: var(--mid-green); display: flex; align-items: center; gap: 5px; transition: gap var(--transition); text-decoration: none; }
.article-card:hover .article-read-more { gap: 9px; }

/* ─── BADGE / TAG ─── */
.badge { display: inline-block; padding: 4px 12px; border-radius: 40px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.badge-green { background: var(--mint-tint); color: var(--deep-green); border: 1px solid rgba(107,158,130,0.28); }
.badge-gold  { background: rgba(184,150,62,0.1); color: var(--gold); border: 1px solid rgba(184,150,62,0.22); }

/* ─── GRID ─── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }

/* ─── FAQ (shared pages) ─── */
.faq-item { border-bottom: 1px solid rgba(168,200,180,0.28); }
.faq-question {
  width: 100%; text-align: left; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: 'Cormorant Garamond', serif; font-size: 1.15rem;
  font-weight: 500; color: var(--forest); background: none; border: none; cursor: pointer; transition: color var(--transition);
}
.faq-question:hover { color: var(--mid-green); }
.faq-icon { width: 24px; height: 24px; background: var(--mint-tint); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all var(--transition); }
.faq-icon svg { width: 12px; height: 12px; stroke: var(--mid-green); fill: none; stroke-width: 2.5; transition: transform var(--transition); }
.faq-item.open .faq-icon { background: var(--deep-green); }
.faq-item.open .faq-icon svg { stroke: #fff; transform: rotate(180deg); }
.faq-answer { overflow: hidden; max-height: 0; transition: max-height 0.4s ease; }
.faq-answer-inner { padding: 0 0 22px; font-size: 0.9rem; color: var(--warm-mid); line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ─── RESULT CARDS (search-results page) ─── */
.result-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1.5px solid rgba(168,200,180,0.22);
  transition: box-shadow var(--transition), transform var(--transition);
}
.result-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.result-card.featured { border-color: var(--deep-green); box-shadow: 0 0 0 2px var(--deep-green), var(--shadow-md); }
.result-card-header { background: var(--mint-pale); padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(168,200,180,0.22); }
.result-card-body { padding: 22px; }
.result-card-cta  { padding: 14px 22px 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.result-card-cta .btn { flex: 1; min-width: 130px; justify-content: center; }

/* ─── FOOTER ─── */
.site-footer { background: var(--forest); color: rgba(255,255,255,0.65); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.65; margin-top: 16px; }
.footer-heading { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-links a:hover { color: var(--sage-light); }
.footer-phone { display: flex; align-items: center; gap: 7px; font-size: 0.92rem; font-weight: 600; color: var(--sage-light); margin-bottom: 8px; }
.footer-email { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-address { font-size: 0.78rem; margin-top: 12px; line-height: 1.6; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin-bottom: 22px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 0.76rem; color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.65); }
.footer-copy { font-size: 0.76rem; color: rgba(255,255,255,0.3); }
.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-text span   { color: var(--sage-light); }
.social-links { display: flex; gap: 10px; margin-top: 14px; }
.social-link  { width: 32px; height: 32px; background: rgba(255,255,255,0.07); border-radius: 7px; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.social-link:hover { background: rgba(255,255,255,0.14); }
.social-link svg { width: 14px; height: 14px; fill: rgba(255,255,255,0.55); }

/* ─── SECTION VARIANTS ─── */
.section-green  { background: var(--forest); color: #fff; }
.section-green h2, .section-green h3 { color: #fff; }
.section-green .lead { color: rgba(255,255,255,0.98); }
.section-tint   { background: var(--mint-pale); }
.section-cream  { background: var(--cream); }

/* ─── COOKIE BANNER ─── */
.cookie-banner {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 48px); max-width: 680px;
  background: var(--forest); border-radius: var(--radius-lg);
  padding: 18px 22px; display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap; z-index: 999; box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.cookie-banner.hidden { transform: translateX(-50%) translateY(130%); opacity: 0; pointer-events: none; }
.cookie-text { flex: 1; font-size: 0.83rem; color: rgba(255,255,255,0.7); min-width: 200px; }
.cookie-text a { color: var(--sage-light); text-decoration: underline; }
.cookie-btns { display: flex; gap: 8px; }

/* ─── ABOUT PAGE ─── */
.about-hero { background: linear-gradient(160deg, var(--forest) 0%, #0a1e12 100%); padding: 100px 0 80px; color: #fff; position: relative; overflow: hidden; }
.about-hero h1 { color: #fff; }
.about-hero .lead { color: rgba(255,255,255,0.68); }

/* ─── REVEAL ANIMATIONS ─── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── SKIP LINK ─── */
.skip-link {
  position: absolute; top: -44px; left: 0;
  background: var(--deep-green); color: #fff;
  padding: 8px 16px; z-index: 9999; font-size: 0.85rem;
  border-radius: 0 0 8px 0; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ─── UTILITY ─── */
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .promise-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  html { font-size: 16px; }
  section { padding: 60px 0; }
  .nav-links, .phone-link.desktop { display: none; }
  .btn-primary.desktop{ display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .trust-bar-inner { gap: 16px; }
  .result-card-cta { flex-direction: column; }
}
@media (max-width: 480px) {
  .promise-grid { grid-template-columns: 1fr; }
  .cookie-banner { bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
}
@media print {
  .site-header, .site-footer, .cookie-banner { display: none; }
}

/* ── LOGO IMAGE ── */
.logo img {
  height:70px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Slightly smaller in footer */
.site-footer .logo img {
  height:70px;
   filter: brightness(0) invert(1);
}



/* Remove the old logo-mark and logo-text elements if still present */
.logo .logo-mark,
.logo .logo-text {
  display: none;
}

/* Hover state — subtle opacity dip */
.logo:hover img {
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

/* Responsive — slightly smaller on mobile */
@media (max-width: 768px) {
  .logo img {
    height: 40px;
  }
  .site-footer .logo img {
    height: 34px;
  }
}

 /* -- CUSTOM CURSOR -- */
    .cursor-dot {
      position: fixed; width: 8px; height: 8px;
      background: #a8c8b4; border-radius: 50%;
      pointer-events: none; z-index: 9999;
      transform: translate(-50%,-50%);
      transition: width 0.18s ease, height 0.18s ease;
      mix-blend-mode: screen; will-change: left, top;
    }
    .cursor-ring {
      position: fixed; width: 36px; height: 36px;
      border: 1.5px solid rgba(168,200,180,0.5);
      border-radius: 50%; pointer-events: none; z-index: 9998;
      transform: translate(-50%,-50%);
      transition: width 0.22s ease, height 0.22s ease, border-color 0.22s ease;
      will-change: left, top;
    }
    body.cursor-hover .cursor-ring { width: 54px; height: 54px; border-color: rgba(168,200,180,0.85); }
    body.cursor-hover .cursor-dot  { width: 4px; height: 4px; }
    @media (hover:none) { .cursor-dot, .cursor-ring { display:none; } }
