/* ================================================================
   LOVE MY BUILD — Main Stylesheet
   Premium, welcoming design for homeowners
================================================================ */

/* ---------------------------------------------------------------
   CSS CUSTOM PROPERTIES
--------------------------------------------------------------- */
:root {
  --navy:        #1A2744;
  --navy-deep:   #111B33;
  --navy-mid:    #243460;
  --gold:        #C8922A;
  --gold-light:  #E8A83C;
  --gold-pale:   #FDF6E9;
  --teal:        #1B6B5A;
  --teal-light:  #E8F5F1;
  --cream:       #FAFAF7;
  --warm-white:  #FFFFFF;
  --warm-gray:   #F5F2EC;
  --border:      #E8E4DC;
  --text:        #1C1917;
  --text-muted:  #6B6460;
  --danger:      #C0392B;
  --danger-pale: #FDF0EE;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --shadow-sm:   0 1px 4px rgba(26,39,68,0.06), 0 2px 8px rgba(26,39,68,0.04);
  --shadow-md:   0 4px 16px rgba(26,39,68,0.10), 0 2px 6px rgba(26,39,68,0.06);
  --shadow-lg:   0 8px 32px rgba(26,39,68,0.14), 0 4px 12px rgba(26,39,68,0.08);
  --shadow-xl:   0 20px 60px rgba(26,39,68,0.18), 0 8px 24px rgba(26,39,68,0.10);

  --transition:  0.25s ease;
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  --max-width: 1240px;
  --header-h:  72px;
}

/* ---------------------------------------------------------------
   RESET & BASE
--------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }
ul, ol { list-style: none; }

/* ---------------------------------------------------------------
   UTILITIES
--------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-label.light { color: rgba(200,146,42,0.85); }
.section-label.danger { color: var(--danger); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-intro {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.7;
}

/* ---------------------------------------------------------------
   TYPOGRAPHY
--------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; color: var(--navy); }

p { margin-bottom: 1rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); font-weight: 600; }
em { font-style: italic; color: var(--gold); }

/* ---------------------------------------------------------------
   BUTTONS
--------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-gold {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(200,146,42,0.35);
}
.btn-gold:hover, .btn-gold:focus-visible {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 6px 28px rgba(200,146,42,0.45);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.btn-navy:hover, .btn-navy:focus-visible {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover, .btn-outline-white:focus-visible {
  background: rgba(255,255,255,0.12);
  border-color: white;
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------
   ANIMATIONS
--------------------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes smokeRise {
  0%, 100% { transform: translateY(0) rotate(-2deg); opacity: 0.5; }
  50%       { transform: translateY(-8px) rotate(2deg); opacity: 0.2; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.9s var(--transition-slow) forwards;
}
.animate-scale-in {
  opacity: 0;
  animation: scaleIn 1s var(--transition-slow) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s;  }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s;  }
.delay-5 { animation-delay: 0.75s; }

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--transition-slow), transform 0.7s var(--transition-slow);
}
.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; }
.reveal.delay-5 { transition-delay: 0.5s; }
.reveal.delay-6 { transition-delay: 0.6s; }
.reveal.delay-7 { transition-delay: 0.7s; }

/* SVG animations */
.smoke   { animation: smokeRise 3s ease-in-out infinite; }
.smoke-2 { animation: smokeRise 3s ease-in-out 1s infinite; }
.float-1 { animation: float 4s ease-in-out infinite; }
.float-2 { animation: float 4s ease-in-out 1.5s infinite; }
.float-3 { animation: float 4s ease-in-out 0.8s infinite; }

/* Prevent flickering on animated SVG elements.
   SVG filter="" attributes force software rasterization on every frame.
   We remove them from the animated rects and apply a CSS drop-shadow on
   .float-card instead, so the whole card sits on one GPU compositor layer. */
.float-card {
  will-change: transform;
  transform-box: fill-box;
  transform-origin: center;
  backface-visibility: hidden;
  filter: drop-shadow(0 6px 16px rgba(26, 39, 68, 0.14));
}

/* ---------------------------------------------------------------
   NAVIGATION
--------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  height: var(--header-h);
}

.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav { height: 100%; }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.site-header.scrolled .logo-text { color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-links a {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-links a:hover {
  color: white;
  background: rgba(255,255,255,0.1);
}
.site-header.scrolled .nav-links a { color: var(--navy); }
.site-header.scrolled .nav-links a:hover { color: var(--gold); background: var(--gold-pale); }

.nav-cta {
  margin-left: 0.5rem;
  flex-shrink: 0;
}
/* On transparent header, gold still works fine */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition);
}
.site-header.scrolled .hamburger span { background: var(--navy); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  box-shadow: var(--shadow-lg);
  border-top: 1px solid var(--border);
  padding: 1rem 2rem 1.5rem;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover { background: var(--warm-gray); color: var(--gold); }
.mobile-nav .btn { margin-top: 0.75rem; width: 100%; }

/* ---------------------------------------------------------------
   HERO SECTION
--------------------------------------------------------------- */
.hero {
  min-height: 100svh;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, #1F3366 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(200,146,42,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(27,107,90,0.06) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 2rem 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(200,146,42,0.15);
  border: 1px solid rgba(200,146,42,0.3);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,146,42,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(200,146,42,0); }
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-title em {
  color: var(--gold-light);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 520px;
}
.hero-subtitle strong { color: white; }
.hero-subtitle em { color: var(--gold-light); }

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.stat {
  flex: 1;
  padding: 0 1.5rem 0 0;
}
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  margin: 0 1.5rem;
  flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.house-illustration {
  width: 100%;
  max-width: 480px;
}
.house-svg { width: 100%; height: auto; }

/* Scroll hint */
.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1.5rem;
  margin-top: auto;
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.3);
  border-bottom: 2px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
  animation: arrowBounce 1.8s ease-in-out infinite;
}
@keyframes arrowBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
  50%       { transform: rotate(45deg) translateY(5px); opacity: 0.8; }
}

/* ---------------------------------------------------------------
   STORY SECTION
--------------------------------------------------------------- */
.story-section {
  padding: 7rem 0;
  background: var(--warm-white);
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
  margin-bottom: 5rem;
}

.story-quote blockquote {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  padding: 2.5rem;
  background: var(--gold-pale);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius-lg);
}
.story-quote blockquote p::before { content: '\201C'; }
.story-quote blockquote p::after  { content: '\201D'; }

.story-body .section-label { margin-bottom: 0.5rem; }
.story-body h2 { margin-bottom: 1.5rem; }
.story-body p { font-size: 1.1rem; }

.pain-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pain-card {
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.pain-card:hover {
  border-color: var(--danger);
  box-shadow: 0 4px 24px rgba(192,57,43,0.1);
  transform: translateY(-4px);
}
.pain-icon {
  width: 52px;
  height: 52px;
  background: var(--danger-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.pain-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.pain-card p  { font-size: 0.95rem; margin: 0; }

/* ---------------------------------------------------------------
   MANIFESTO SECTION
--------------------------------------------------------------- */
.manifesto-section {
  padding: 7rem 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.manifesto-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 90%, rgba(200,146,42,0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 10%, rgba(27,107,90,0.06) 0%, transparent 40%);
  pointer-events: none;
}

.manifesto-inner {
  max-width: 860px;
  margin: 0 auto;
}

.manifesto-title {
  color: white;
  margin-bottom: 1rem;
}
.manifesto-intro {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 3.5rem;
}

.rights-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.right-item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition);
}
.right-item:last-child { border-bottom: none; }
.right-item:hover { padding-left: 0.5rem; }

.right-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(200,146,42,0.3);
  line-height: 1;
  flex-shrink: 0;
  width: 3.5rem;
  transition: color var(--transition);
}
.right-item:hover .right-number { color: var(--gold); }

.right-content h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.right-content p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------------------------------------------------------------
   JOURNEY SECTION (ACCORDION)
--------------------------------------------------------------- */
.journey-section {
  padding: 7rem 0;
  background: var(--cream);
}

.journey-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.accordion-item.is-open {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition);
}
.accordion-trigger:hover { background: var(--warm-gray); }
.accordion-item.is-open .accordion-trigger { background: var(--gold-pale); }

.accordion-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
}

.accordion-title {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.accordion-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  position: relative;
  transition: transform var(--transition), background var(--transition);
}
.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: white;
  border-radius: 2px;
  top: 50%;
  left: 50%;
}
.accordion-icon::before {
  width: 10px; height: 2px;
  transform: translate(-50%, -50%);
}
.accordion-icon::after {
  width: 2px; height: 10px;
  transform: translate(-50%, -50%);
  transition: transform var(--transition), opacity var(--transition);
}
.accordion-item.is-open .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.accordion-panel {
  overflow: hidden;
}
.accordion-content {
  padding: 0 2rem 2rem 5.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.accordion-content p {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.checklist li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal-light);
  border: 2px solid var(--teal);
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%231B6B5A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.insight-box {
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text);
}
.insight-box strong { color: var(--gold); }

/* ---------------------------------------------------------------
   TECHNOLOGY SECTION
--------------------------------------------------------------- */
.tech-section {
  padding: 7rem 0;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}
.tech-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(200,146,42,0.07) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(27,107,90,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.tech-section .section-header .section-label { color: var(--gold-light); }
.tech-section .section-header h2 { color: white; }
.tech-section .section-header .section-intro { color: rgba(255,255,255,0.6); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tech-card {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.tech-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(200,146,42,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.tech-icon {
  width: 64px;
  height: 64px;
  background: rgba(200,146,42,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background var(--transition);
}
.tech-card:hover .tech-icon { background: rgba(200,146,42,0.18); }

.tech-card h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.tech-card p {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}

.tech-facts {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.tech-facts li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  padding-left: 1rem;
  position: relative;
  line-height: 1.4;
}
.tech-facts li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ---------------------------------------------------------------
   RED FLAGS SECTION
--------------------------------------------------------------- */
.redflags-section {
  padding: 7rem 0;
  background: var(--warm-white);
}

.redflags-section .section-label.danger { color: var(--danger); }

.redflags-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.redflag-card {
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.redflag-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--danger);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.redflag-card:hover {
  border-color: var(--danger);
  box-shadow: 0 4px 24px rgba(192,57,43,0.08);
  transform: translateY(-3px);
}
.redflag-card:hover::before { transform: scaleX(1); }

.flag-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.flag-icon {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
  color: var(--danger);
  margin-top: 0.1rem;
}
.flag-header h3 {
  font-size: 1rem;
  color: var(--navy);
}
.redflag-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ---------------------------------------------------------------
   GUIDES SECTION
--------------------------------------------------------------- */
.guides-section {
  padding: 7rem 0;
  background: var(--warm-gray);
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.guide-card {
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  cursor: default;
}
.guide-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.guide-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.guide-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.guide-card p {
  font-size: 0.92rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.guide-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.guides-cta {
  text-align: center;
  padding: 2rem;
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  border: 1.5px dashed var(--border);
}
.guides-cta p { margin-bottom: 1.25rem; font-size: 1rem; }

/* ---------------------------------------------------------------
   COMMUNITY / NEWSLETTER
--------------------------------------------------------------- */
.community-section {
  padding: 7rem 0;
  background: linear-gradient(135deg, var(--navy) 0%, #1F3366 100%);
  position: relative;
  overflow: hidden;
}
.community-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 120%, rgba(200,146,42,0.12) 0%, transparent 60%);
}

.community-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.community-inner h2 { color: white; margin-bottom: 1rem; }
.community-inner .section-label { display: block; margin-bottom: 0.5rem; }
.community-inner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  line-height: 1.7;
}
.community-sub { font-size: 0.95rem !important; margin-top: 0.5rem; }

.newsletter-form {
  margin: 2.5rem 0;
}
.form-group {
  display: flex;
  gap: 0;
  max-width: 500px;
  margin: 0 auto;
}
.form-group input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  border: 2px solid rgba(255,255,255,0.2);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 1rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.form-group input::placeholder { color: rgba(255,255,255,0.4); }
.form-group input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
}
.form-group .btn {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  white-space: nowrap;
}
.form-note {
  font-size: 0.8rem !important;
  color: rgba(255,255,255,0.4) !important;
  margin-top: 0.75rem;
}

.community-proof {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
}
.proof-item {
  flex: 1;
  text-align: center;
}
.proof-item strong {
  display: block;
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.proof-item span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.proof-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ---------------------------------------------------------------
   FOOTER
--------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer-brand .logo-text { color: white; }
.footer-brand .logo { margin-bottom: 1rem; }
.footer-tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-light);
  font-style: italic;
  margin-bottom: 0.75rem;
}
.footer-desc { font-size: 0.9rem; line-height: 1.7; margin: 0; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col h4 {
  color: white;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.85rem; margin: 0; color: rgba(255,255,255,0.4); }
.footer-disclaimer { max-width: 600px; }

/* ---------------------------------------------------------------
   BACK TO TOP
--------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: all var(--transition);
  z-index: 100;
}
.back-to-top:not([hidden]) { display: flex; }
.back-to-top:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* ---------------------------------------------------------------
   RESPONSIVE — TABLET (1024px)
--------------------------------------------------------------- */
@media (max-width: 1024px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .redflags-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------------------
   RESPONSIVE — MEDIUM (900px)
--------------------------------------------------------------- */
@media (max-width: 900px) {
  .story-inner { grid-template-columns: 1fr; gap: 2rem; }
  .story-quote blockquote { position: static; }
  .pain-points { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------------------
   RESPONSIVE — TABLET (768px)
--------------------------------------------------------------- */
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
    padding: 3rem 1.5rem 3rem;
  }
  .hero-subtitle { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { flex-wrap: wrap; }
  .stat { min-width: 140px; }
  .hero-visual { order: -1; }
  .house-illustration { max-width: 320px; margin: 0 auto; }

  .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr; }

  .community-proof {
    flex-direction: column;
    gap: 1.25rem;
  }
  .proof-divider { width: 40px; height: 1px; }

  .form-group {
    flex-direction: column;
  }
  .form-group input {
    border-right: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
  }
  .form-group .btn {
    border-radius: var(--radius-md);
  }

  .accordion-content { padding-left: 2rem; }

  .scroll-hint { display: none; }

  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
}

/* ---------------------------------------------------------------
   RESPONSIVE — MOBILE (480px)
--------------------------------------------------------------- */
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }

  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .stat-divider { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 300px; }

  .redflags-grid { grid-template-columns: 1fr; }
  .guides-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }

  .right-item { gap: 1rem; }
  .right-number { font-size: 1.5rem; width: 2rem; }

  .footer-links { grid-template-columns: 1fr; }
  .manifesto-section, .story-section, .journey-section,
  .tech-section, .redflags-section, .guides-section, .community-section {
    padding: 4.5rem 0;
  }
}

/* ---------------------------------------------------------------
   REDUCED MOTION
--------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------------------------------------------------------------
   FOCUS STYLES (ACCESSIBILITY)
--------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ================================================================
   ARTICLE / GUIDE PAGES
================================================================ */

/* Force header to solid state on interior pages */
.site-header.is-article {
  background: rgba(255,255,255,0.98);
  box-shadow: var(--shadow-sm);
}
.site-header.is-article .logo-text         { color: var(--navy); }
.site-header.is-article .nav-links a       { color: var(--navy); }
.site-header.is-article .nav-links a:hover { color: var(--gold); background: var(--gold-pale); }
.site-header.is-article .hamburger span    { background: var(--navy); }

/* Reading progress bar */
.reading-progress {
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gold);
  z-index: 999;
  transition: width 0.1s linear;
}

/* Article hero */
.article-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #1F3366 100%);
  padding: calc(var(--header-h) + 3rem) 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(200,146,42,0.07) 0%, transparent 55%);
  pointer-events: none;
}

.breadcrumb {
  margin-bottom: 1.5rem;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.breadcrumb li + li::before {
  content: '/';
  color: rgba(255,255,255,0.25);
}
.breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb li:last-child { color: rgba(255,255,255,0.4); }

.article-hero .guide-category {
  background: rgba(200,146,42,0.18);
  color: var(--gold-light);
  border: 1px solid rgba(200,146,42,0.3);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.article-hero h1 {
  color: white;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 820px;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.article-meta time,
.article-meta span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.article-meta time::before { content: 'Published '; }
.meta-dot {
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Article layout: content + sidebar */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3.5rem;
  align-items: start;
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

/* Article content typography */
.article-content {
  min-width: 0;
}

.article-content h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  color: var(--navy);
  margin: 2.5rem 0 1rem;
  padding-top: 0.5rem;
  border-top: 2px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.article-content h2:first-child { border-top: none; margin-top: 0; }

.article-content h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 1.75rem 0 0.75rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.article-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #3d3833;
  margin-bottom: 1.25rem;
}

.article-content strong { color: var(--navy); font-weight: 600; }

.article-content ul,
.article-content ol {
  margin: 0 0 1.5rem 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.article-content ul li,
.article-content ol li {
  font-size: 1rem;
  color: #3d3833;
  line-height: 1.65;
  padding-left: 1.75rem;
  position: relative;
}

.article-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.article-content ol {
  counter-reset: article-counter;
}
.article-content ol li {
  counter-increment: article-counter;
}
.article-content ol li::before {
  content: counter(article-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.65;
}

.article-content a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-color: rgba(27,107,90,0.35);
  text-underline-offset: 3px;
  transition: color var(--transition), text-decoration-color var(--transition);
}
.article-content a:hover {
  color: var(--navy);
  text-decoration-color: var(--navy);
}

/* Callout boxes */
.callout {
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.97rem;
  line-height: 1.7;
}
.callout p { margin: 0; font-size: inherit; color: inherit; }
.callout strong { font-size: inherit; }

.callout-tip {
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  color: #5a4010;
}
.callout-tip strong { color: var(--gold); }

.callout-warning {
  background: var(--danger-pale);
  border-left: 4px solid var(--danger);
  color: #5a1510;
}
.callout-warning strong { color: var(--danger); }

.callout-info {
  background: #EEF4FB;
  border-left: 4px solid #2980B9;
  color: #1a3a5c;
}
.callout-info strong { color: #2980B9; }

.callout-teal {
  background: var(--teal-light);
  border-left: 4px solid var(--teal);
  color: #0d3a30;
}
.callout-teal strong { color: var(--teal); }

/* Cost table */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.95rem;
}
.cost-table th {
  background: var(--navy);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}
.cost-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.cost-table th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }
.cost-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
.cost-table tr:nth-child(even) td { background: var(--warm-gray); }
.cost-table tr:last-child td { border-bottom: none; }

/* Article footer */
.article-footer-nav {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 4rem;
}
.article-footer-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.sidebar-card h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Table of contents */
.toc-list {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.toc-list a {
  display: block;
  padding: 0.45rem 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  line-height: 1.4;
}
.toc-list a:hover { background: var(--warm-gray); color: var(--navy); }
.toc-list a.active { background: var(--gold-pale); color: var(--gold); font-weight: 600; }

/* Key facts */
.key-facts {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.key-fact {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}
.key-fact:last-child { border-bottom: none; padding-bottom: 0; }
.key-fact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.key-fact-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

/* Related articles in sidebar */
.related-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.related-list a {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.4;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.related-list a:hover { background: var(--gold-pale); color: var(--gold); }
.related-list a .rel-cat {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.2rem;
}

/* Guides hub page */
.guides-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #1F3366 100%);
  padding: calc(var(--header-h) + 3rem) 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.guides-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 80%, rgba(200,146,42,0.08) 0%, transparent 55%);
  pointer-events: none;
}
.guides-hero h1 { color: white; margin-bottom: 1rem; }
.guides-hero p  { color: rgba(255,255,255,0.65); font-size: 1.15rem; max-width: 620px; margin: 0 auto; }

.guides-hub {
  padding: 4rem 0 6rem;
  background: var(--cream);
}

.guides-category-section { margin-bottom: 3.5rem; }
.guides-category-section h2 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.guides-category-section h2 .cat-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
}

.guides-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.hub-card {
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-decoration: none;
  display: block;
  transition: all var(--transition);
}
.hub-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.hub-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  color: var(--navy);
}
.hub-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.55;
}
.hub-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.hub-card-meta .guide-category {
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
}

/* Responsive article pages */
@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .guides-hub-grid { grid-template-columns: repeat(2, 1fr); }
  .article-sidebar { grid-template-columns: 1fr; }
  .article-footer-nav .container { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .guides-hub-grid { grid-template-columns: 1fr; }
  .article-hero h1 { font-size: 1.6rem; }
  .article-content h2 { font-size: 1.25rem; }
}
