:root {
  --cream: #F7F3EE;
  --ivory: #F2EDE6;
  --beige: #E8E0D5;
  --sand: #D4C9BA;
  --taupe: #B8A99A;
  --warm-brown: #8B7B6B;
  --charcoal: #2C2825;
  --deep: #1A1714;
  --gold: #C4A882;
  --gold-light: #D4BC98;
  --text-main: #2C2825;
  --text-muted: #7A6E65;
  --text-light: #B8A99A;
  --transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-main);
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ─────────────────────────── */
#cursor {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--charcoal);
  position: fixed; z-index: 9999;
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
}
#cursor-ring {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--charcoal);
  position: fixed; z-index: 9998;
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94), width 0.4s ease, height 0.4s ease, opacity 0.3s ease;
  opacity: 0.5;
}
body:has(a:hover) #cursor, body:has(button:hover) #cursor {
  width: 6px; height: 6px; background: var(--gold);
}
body:has(a:hover) #cursor-ring, body:has(button:hover) #cursor-ring {
  width: 52px; height: 52px; opacity: 0.3;
}

/* ── NAV ───────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 60px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition);
}
nav.scrolled {
  background: rgba(247,243,238,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(180,160,140,0.15);
  box-shadow: 0 1px 24px rgba(44,40,37,0.06);
}
/* Back/forward + logo group */
.nav-left { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.nav-history { display: flex; align-items: center; gap: 4px; }
.nav-hist-btn {
  width: 30px; height: 30px; border-radius: 50%;
  background: transparent; border: 1px solid transparent;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); cursor: none; transition: var(--transition-fast);
  padding: 0; flex-shrink: 0;
}
.nav-hist-btn:not(:disabled):hover {
  background: var(--sand); border-color: var(--beige); color: var(--charcoal);
}
.nav-hist-btn:disabled { opacity: 0.28; cursor: not-allowed; }
nav.scrolled .nav-hist-btn:not(:disabled):hover { background: rgba(196,168,130,0.12); }

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem; font-weight: 500; letter-spacing: 0.06em;
  color: var(--charcoal); text-decoration: none;
  cursor: none; line-height: 1; flex-shrink: 0;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 22px; align-items: center; height: 100%; }
.nav-links a {
  font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none; cursor: none;
  transition: var(--transition-fast); position: relative;
  line-height: 1; display: flex; align-items: center; white-space: nowrap;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px;
  background: var(--gold); transition: width 0.4s ease;
}
.nav-links a:hover { color: var(--charcoal); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--charcoal); color: var(--cream) !important;
  padding: 10px 26px; border-radius: 2px;
  font-size: 0.75rem !important; letter-spacing: 0.16em !important;
  transition: var(--transition-fast) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--deep) !important; color: var(--gold-light) !important; }

/* ── PAGE SYSTEM ───────────────────────────── */
.page { display: none; min-height: 100vh; }
.page.active { display: block; animation: pageIn 0.7s cubic-bezier(0.25,0.46,0.45,0.94); }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── HERO ──────────────────────────────────── */
#home-hero {
  min-height: 100vh;
  display: grid; place-items: center;
  padding: 120px 60px 80px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 70% at 60% 40%, rgba(196,168,130,0.12) 0%, transparent 70%),
              radial-gradient(ellipse 50% 60% at 10% 80%, rgba(180,155,120,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(180,160,140,0.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(180,160,140,0.06) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-content { position: relative; z-index: 1; max-width: 900px; text-align: center; }
.hero-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); font-family: 'DM Sans', sans-serif; font-weight: 400;
  margin-bottom: 32px; display: block;
  animation: fadeUp 1s ease 0.2s both;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 300; line-height: 0.95;
  letter-spacing: -0.02em; color: var(--charcoal);
  margin-bottom: 36px;
  animation: fadeUp 1s ease 0.4s both;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 1rem; font-weight: 300; color: var(--text-muted);
  line-height: 1.8; max-width: 500px; margin: 0 auto 56px;
  letter-spacing: 0.02em;
  animation: fadeUp 1s ease 0.6s both;
}
.hero-actions {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 1s ease 0.8s both;
}
.btn-primary {
  background: var(--charcoal); color: var(--cream);
  padding: 16px 40px; border: none; border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: none; transition: var(--transition-fast);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gold); transform: translateX(-101%); transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }
.btn-outline {
  background: transparent; color: var(--charcoal);
  padding: 15px 40px; border: 1px solid var(--sand); border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: none; transition: var(--transition-fast);
}
.btn-outline:hover { border-color: var(--charcoal); background: var(--charcoal); color: var(--cream); }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  animation: fadeUp 1s ease 1.2s both;
}
.hero-scroll span {
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-light);
}
.scroll-line {
  width: 1px; height: 60px; background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(0.6); opacity: 1; }
}

/* ── SECTION COMMON ─────────────────────────── */
section { padding: 120px 60px; }
.section-label {
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 24px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300; line-height: 1.1;
  letter-spacing: -0.01em; color: var(--charcoal);
}
.section-title em { font-style: italic; }
.section-sub {
  font-size: 0.95rem; font-weight: 300; color: var(--text-muted);
  line-height: 1.9; max-width: 520px; letter-spacing: 0.01em;
  margin-top: 20px;
}
.divider {
  width: 40px; height: 1px; background: var(--gold);
  margin: 28px 0;
}

/* ── HOME: ABOUT STRIP ──────────────────────── */
#home-about {
  background: var(--charcoal);
  padding: 80px 60px;
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1px; background-color: rgba(255,255,255,0.06);
}
.about-stat {
  background: var(--charcoal);
  padding: 40px 50px;
  text-align: center;
}
.about-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem; font-weight: 300; color: var(--gold-light);
  display: block; line-height: 1;
}
.about-stat-label {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(247,243,238,0.5); margin-top: 12px; display: block;
}

/* ── HOME: SERVICES ─────────────────────────── */
#home-services { background: var(--ivory); }
.services-header { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 80px; align-items: end; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.service-card {
  background: var(--cream); padding: 50px 40px;
  position: relative; overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: #F0E9DF; transform: translateY(-4px); }
.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem; color: var(--text-light); font-weight: 400;
  letter-spacing: 0.1em; display: block; margin-bottom: 28px;
}
.service-icon { font-size: 1.8rem; margin-bottom: 20px; display: block; }
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 400; color: var(--charcoal);
  margin-bottom: 14px; line-height: 1.2;
}
.service-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.8; font-weight: 300; }

/* ── HOME: TEMPLATE VS CUSTOM ───────────────── */
#home-approach { background: var(--cream); }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-top: 70px; }
.approach-card {
  padding: 70px 60px; position: relative; overflow: hidden; cursor: none;
  transition: var(--transition);
}
.approach-card.left { background: var(--charcoal); color: var(--cream); }
.approach-card.right { background: var(--ivory); }
.approach-card:hover { transform: translateY(-3px); }
.approach-card .approach-label {
  font-size: 0.65rem; letter-spacing: 0.28em; text-transform: uppercase;
  margin-bottom: 20px; display: block;
}
.approach-card.left .approach-label { color: var(--gold); }
.approach-card.right .approach-label { color: var(--gold); }
.approach-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem; font-weight: 300; line-height: 1.1;
  margin-bottom: 24px;
}
.approach-card.left h3 { color: var(--cream); }
.approach-card.right h3 { color: var(--charcoal); }
.approach-card p { font-size: 0.9rem; line-height: 1.9; font-weight: 300; margin-bottom: 36px; }
.approach-card.left p { color: rgba(247,243,238,0.65); }
.approach-card.right p { color: var(--text-muted); }
.approach-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300;
}
.approach-card.left .approach-price { color: var(--gold-light); }
.approach-card.right .approach-price { color: var(--charcoal); }
.approach-price-note { font-size: 0.75rem; letter-spacing: 0.1em; opacity: 0.6; margin-left: 8px; }

/* ── HOME: PORTFOLIO PREVIEW ────────────────── */
#home-portfolio { background: var(--ivory); }
.portfolio-intro { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-bottom: 60px; }
.portfolio-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 3px; }
.portfolio-item {
  position: relative; overflow: hidden; cursor: none;
  background: var(--beige);
}
.portfolio-item:first-child { grid-row: span 2; }
.portfolio-img {
  width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
  display: flex; align-items: center; justify-content: center;
}
.portfolio-item:hover .portfolio-img { transform: scale(1.05); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,24,20,0.75) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.5s ease;
  display: flex; align-items: flex-end; padding: 30px;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay-text h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 300; color: var(--cream);
}
.portfolio-overlay-text span {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.portfolio-mock {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
}
.mock-bar { height: 4px; background: var(--sand); border-radius: 2px; }

/* ── HOME: TESTIMONIALS ──────────────────────── */
#home-testimonials { background: var(--cream); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 60px; }
.testimonial-card {
  background: var(--ivory); padding: 50px 40px;
  position: relative; transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); background: #EDE5DA; }
.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; color: var(--gold); line-height: 1;
  margin-bottom: 20px; display: block;
}
.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 300; font-style: italic;
  color: var(--charcoal); line-height: 1.8; margin-bottom: 32px;
}
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--sand); display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: var(--warm-brown);
}
.testimonial-name { font-size: 0.85rem; font-weight: 500; color: var(--charcoal); }
.testimonial-role { font-size: 0.7rem; color: var(--text-light); letter-spacing: 0.08em; margin-top: 2px; }

/* ── HOME: PRICING STRIP ────────────────────── */
#home-pricing {
  background: var(--charcoal); padding: 100px 60px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center;
}
.pricing-left .section-title { color: var(--cream); }
.pricing-left .section-title em { color: var(--gold); }
.pricing-left .section-sub { color: rgba(247,243,238,0.55); }
.pricing-cards { display: flex; flex-direction: column; gap: 3px; }
.pricing-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  padding: 40px 50px;
  display: flex; justify-content: space-between; align-items: center;
  transition: var(--transition-fast); cursor: none;
}
.pricing-card:hover { background: rgba(196,168,130,0.12); border-color: rgba(196,168,130,0.3); }
.pricing-card-name {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(247,243,238,0.5);
  margin-bottom: 8px; display: block;
}
.pricing-card-type {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 300; color: var(--cream);
}
.pricing-card-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 300; color: var(--gold-light);
  text-align: right;
}
.pricing-card-price span { font-size: 0.8rem; color: rgba(247,243,238,0.4); display: block; margin-top: 4px; font-family: 'DM Sans', sans-serif; }
.pricing-note {
  font-size: 0.8rem; color: rgba(247,243,238,0.35);
  line-height: 1.8; margin-top: 24px; letter-spacing: 0.02em;
}

/* ── HOME: CTA FINAL ─────────────────────────── */
#home-cta {
  background: var(--cream); padding: 160px 60px;
  text-align: center; position: relative; overflow: hidden;
}
#home-cta::before {
  content: 'WEBLY'; position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22vw; font-weight: 300; color: var(--beige);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  white-space: nowrap; pointer-events: none; letter-spacing: 0.1em;
  opacity: 0.4;
}

/* ── SERVICES PAGE ───────────────────────────── */
#services-hero { padding: 180px 60px 100px; background: var(--ivory); }
.services-full-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; background: var(--sand); padding: 0;
}
.service-full-card {
  background: var(--cream); padding: 50px 40px 60px;
  transition: var(--transition); cursor: none; position: relative; overflow: hidden;
}
.service-full-card::after {
  content: '→'; position: absolute; right: 40px; bottom: 40px;
  font-size: 1.2rem; color: var(--gold);
  transform: translateX(-10px); opacity: 0;
  transition: var(--transition-fast);
}
.service-full-card:hover { background: var(--charcoal); }
.service-full-card:hover h3, .service-full-card:hover p { color: rgba(247,243,238,0.8); }
.service-full-card:hover .service-num { color: var(--gold); }
.service-full-card:hover::after { transform: translateX(0); opacity: 1; }
.service-full-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 400; margin-bottom: 12px;
  transition: var(--transition-fast);
}
.service-full-card p { font-size: 0.82rem; line-height: 1.85; font-weight: 300; color: var(--text-muted); transition: var(--transition-fast); }

/* ── TEMPLATES PAGE ──────────────────────────── */
#templates-hero { padding: 180px 60px 100px; background: var(--ivory); }
.templates-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 0 60px 120px; background: var(--cream); }
.template-card {
  background: var(--ivory); cursor: none; overflow: hidden;
  transition: var(--transition); position: relative;
}
.template-card:hover { transform: translateY(-6px); box-shadow: 0 30px 80px rgba(44,40,37,0.12); }
.template-preview {
  height: 260px; overflow: hidden; position: relative;
}
.template-mock {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  padding: 20px;
  transition: transform 0.6s ease;
}
.template-card:hover .template-mock { transform: scale(1.03); }
.template-info { padding: 30px 30px 40px; }
.template-tag {
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px; display: block;
}
.template-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 400; color: var(--charcoal); margin-bottom: 10px;
}
.template-info p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.75; font-weight: 300; margin-bottom: 24px; }
.btn-small {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--charcoal); border: 1px solid var(--sand);
  padding: 10px 24px; background: transparent; cursor: none;
  transition: var(--transition-fast); border-radius: 2px;
}
.btn-small:hover { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }

/* ── CUSTOM PAGE ─────────────────────────────── */
#custom-hero {
  min-height: 100vh; background: var(--charcoal);
  display: grid; place-items: center; padding: 120px 60px;
  position: relative; overflow: hidden;
}
#custom-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 60%, rgba(196,168,130,0.08) 0%, transparent 70%);
}
.custom-hero-content { position: relative; z-index: 1; max-width: 800px; }
.custom-hero-content .section-label { color: var(--gold); margin-bottom: 28px; }
.custom-hero-content .section-title { color: var(--cream); font-size: clamp(3rem, 6vw, 5.5rem); }
.custom-hero-content .section-title em { color: var(--gold); }
.custom-hero-content .section-sub { color: rgba(247,243,238,0.55); }
.custom-features {
  background: var(--cream); padding: 120px 60px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center;
}
.custom-features-list { list-style: none; }
.custom-features-list li {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 28px 0; border-bottom: 1px solid var(--beige);
  font-size: 0.9rem; line-height: 1.7; color: var(--text-muted); font-weight: 300;
}
.custom-features-list li:last-child { border-bottom: none; }
.feature-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem; color: var(--gold); min-width: 24px; margin-top: 2px;
}
.feature-title { font-weight: 500; color: var(--charcoal); display: block; margin-bottom: 6px; font-size: 0.95rem; }
.custom-visual {
  background: var(--charcoal); height: 500px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; border-radius: 2px;
}
.custom-visual-inner {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 300; color: rgba(247,243,238,0.3);
  letter-spacing: 0.1em; text-align: center; line-height: 2;
}
.custom-process { background: var(--ivory); padding: 120px 60px; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 70px; }
.process-step {
  background: var(--cream); padding: 50px 40px;
  position: relative; transition: var(--transition);
}
.process-step::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s ease;
}
.process-step:hover::before { transform: scaleX(1); }
.process-step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300; color: var(--beige);
  display: block; margin-bottom: 20px;
}
.process-step h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 400; color: var(--charcoal); margin-bottom: 12px;
}
.process-step p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.8; font-weight: 300; }

/* ── PORTFOLIO PAGE ──────────────────────────── */
#portfolio-hero { padding: 180px 60px 100px; background: var(--ivory); }
.portfolio-full-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 320px; gap: 3px;
  padding: 80px 60px 120px; background: var(--cream);
  border-top: 1px solid var(--beige);
}
[data-theme="dark"] .portfolio-full-grid { border-top-color: #1E1B18; }
.portfolio-full-item {
  position: relative; overflow: hidden; cursor: none;
  background: var(--beige);
}
.portfolio-full-item:nth-child(4) { grid-column: span 2; }
.pfull-inner {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.portfolio-full-item:hover .pfull-inner { transform: scale(1.04); }
.pfull-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(28,24,20,0.8) 0%, rgba(196,168,130,0.3) 100%);
  opacity: 0; transition: opacity 0.5s ease;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px;
}
.portfolio-full-item:hover .pfull-overlay { opacity: 1; }
.pfull-overlay h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 300; color: var(--cream);
}
.pfull-overlay span { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

/* ── CONFIGURATOR ────────────────────────────── */
#configurator { background: var(--cream); padding: 120px 60px; }
.configurator-layout { display: grid; grid-template-columns: 1fr 360px; gap: 60px; margin-top: 70px; }
.config-steps { }
.config-step {
  display: none;
  animation: fadeUp 0.5s ease;
}
.config-step.active { display: block; }
.config-step-header {
  display: flex; align-items: flex-start; gap: 20px; margin-bottom: 40px; flex-wrap: wrap;
}
.config-step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem; font-weight: 300; color: var(--beige); line-height: 1;
}
.config-step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300; color: var(--charcoal);
}
.config-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.config-option {
  background: var(--ivory); padding: 32px 28px;
  border: 2px solid transparent; cursor: none; transition: var(--transition-fast);
  position: relative; overflow: hidden;
}
.config-option:hover { border-color: var(--gold); background: #F0E9DF; }
.config-option.selected { border-color: var(--charcoal); background: var(--charcoal); }
.config-option.selected .config-opt-title { color: var(--cream); }
.config-option.selected .config-opt-desc { color: rgba(247,243,238,0.55); }
.config-option.selected .config-opt-icon { color: var(--gold); }
.config-opt-icon { font-size: 1.4rem; margin-bottom: 14px; display: block; color: var(--warm-brown); }
.config-opt-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 400; color: var(--charcoal); display: block; margin-bottom: 8px; }
.config-opt-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.7; font-weight: 300; }
.config-option.selected .config-check {
  position: absolute; top: 14px; right: 14px;
  width: 18px; height: 18px; background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; color: var(--deep);
}
.config-check { display: none; }
.config-option.selected .config-check { display: flex; }
.config-addons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; }
.config-addon {
  background: var(--ivory); padding: 24px 28px;
  border: 2px solid transparent; cursor: none; transition: var(--transition-fast);
  display: flex; align-items: center; gap: 16px;
}
.config-addon:hover { border-color: var(--gold); }
.config-addon.selected { border-color: var(--charcoal); background: var(--charcoal); }
.config-addon.selected .addon-name { color: var(--cream); }
.config-addon.selected .addon-price { color: var(--gold-light); }
.addon-box {
  width: 18px; height: 18px; border: 1px solid var(--sand); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; transition: var(--transition-fast);
}
.config-addon.selected .addon-box { background: var(--gold); border-color: var(--gold); }
.addon-check { display: none; font-size: 0.6rem; color: var(--deep); }
.config-addon.selected .addon-check { display: block; }
.addon-name { font-size: 0.85rem; font-weight: 400; color: var(--charcoal); flex: 1; }
.addon-price { font-family: 'Cormorant Garamond', serif; font-size: 0.85rem; color: var(--text-muted); }
.config-nav { display: flex; gap: 16px; margin-top: 50px; align-items: center; }
.config-progress {
  flex: 1; height: 2px; background: var(--beige); border-radius: 1px;
}
.config-progress-fill {
  height: 100%; background: var(--gold); border-radius: 1px;
  transition: width 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.config-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.config-field { display: flex; flex-direction: column; gap: 8px; }
.config-field.full { grid-column: span 2; }
.config-field label { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.config-field input, .config-field textarea, .config-field select {
  background: var(--ivory); border: 1px solid var(--beige);
  padding: 14px 18px; font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem; color: var(--charcoal); outline: none;
  transition: var(--transition-fast); resize: none; border-radius: 2px;
}
.config-field input:focus, .config-field textarea:focus, .config-field select:focus {
  border-color: var(--gold); background: var(--cream);
}

/* ── INTAKE EXTENSIONS ───────────────────────── */
.config-step-sub { font-size: 0.85rem; color: var(--text-muted); margin-top: -12px; margin-bottom: 36px; width: 100%; font-weight: 300; line-height: 1.7; flex-basis: 100%; }
.config-section-label { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-light); margin-bottom: 14px; display: block; }
.config-addons-3col { grid-template-columns: repeat(3, 1fr); }
.config-conditional { border: 1px solid var(--beige); padding: 24px; background: var(--ivory); }
.config-conditional-label { font-size: 0.78rem; font-weight: 500; color: var(--charcoal); margin-bottom: 16px; letter-spacing: 0.04em; }
.intake-submit-notice {
  display: flex; gap: 14px; align-items: flex-start;
  background: #FEF9F0; border: 1px solid var(--gold); padding: 20px 24px;
  margin-top: 36px; font-size: 0.85rem; color: var(--charcoal); line-height: 1.7;
}
.intake-notice-icon { font-size: 1.1rem; color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.intake-submit-notice strong { color: var(--charcoal); }

/* ── SUCCESS / EMAIL MODAL ───────────────────── */
.modal-email-notice {
  display: flex; gap: 12px; align-items: flex-start;
  background: #FEF9F0; border: 1px solid var(--gold);
  padding: 16px 20px; margin: 0 0 20px; text-align: left;
  font-size: 0.84rem; color: var(--charcoal); line-height: 1.7;
}
.modal-email-notice-icon { color: var(--gold); font-size: 1rem; flex-shrink: 0; }

/* ── CART PANEL ──────────────────────────────── */
.cart-panel {
  background: var(--charcoal); padding: 40px 36px;
  position: sticky; top: 100px;
  max-height: calc(100vh - 120px); overflow-y: auto;
}
.cart-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 300; color: var(--cream);
  margin-bottom: 6px;
}
.cart-subtitle { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(247,243,238,0.35); margin-bottom: 36px; display: block; }
.cart-items { list-style: none; }
.cart-item {
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-name { font-size: 0.82rem; color: rgba(247,243,238,0.75); line-height: 1.5; }
.cart-item-cat { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 4px; }
.cart-empty { font-size: 0.82rem; color: rgba(247,243,238,0.25); font-style: italic; font-family: 'Cormorant Garamond', serif; }
.cart-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 20px 0; }
.cart-total-label { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(247,243,238,0.35); margin-bottom: 8px; display: block; }
.cart-total-value { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; color: var(--gold-light); }
.cart-total-note { font-size: 0.72rem; color: rgba(247,243,238,0.3); margin-top: 8px; line-height: 1.6; }

/* ── CONTACT PAGE ────────────────────────────── */
#contact-hero { padding: 180px 60px 80px; background: var(--ivory); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding: 80px 60px 120px; background: var(--cream); }
.contact-info { }
.contact-info .section-label { margin-bottom: 10px; }
.contact-info .section-title { margin-bottom: 24px; }
.contact-info .section-sub { margin-bottom: 50px; }
.contact-detail { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 32px; }
.contact-detail-icon { font-size: 1.2rem; margin-top: 2px; }
.contact-detail-label { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-light); margin-bottom: 6px; display: block; }
.contact-detail-val { font-size: 0.95rem; color: var(--charcoal); font-weight: 400; }
.contact-detail-val a { color: var(--charcoal); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 1px; cursor: none; }
.contact-form-wrap { background: var(--ivory); padding: 50px; }
.contact-form-title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 300; color: var(--charcoal); margin-bottom: 36px; }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-field { display: flex; flex-direction: column; gap: 8px; }
.contact-field.full { grid-column: span 2; }
.contact-field label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.contact-field input, .contact-field textarea {
  background: var(--cream); border: 1px solid var(--beige);
  padding: 14px 18px; font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem; color: var(--charcoal); outline: none;
  transition: var(--transition-fast); resize: none; border-radius: 2px;
}
.contact-field input:focus, .contact-field textarea:focus {
  border-color: var(--gold);
}

/* ── SUCCESS MODAL ───────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(28,24,20,0.7); backdrop-filter: blur(12px);
  display: none; place-items: center;
}
.modal-overlay.active { display: grid; }
.modal {
  background: var(--cream); padding: 70px 60px; max-width: 520px; width: 90%;
  text-align: center; position: relative; animation: modalIn 0.5s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-icon { font-size: 2.5rem; margin-bottom: 24px; display: block; }
.modal-title { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; color: var(--charcoal); margin-bottom: 16px; }
.modal-sub { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 40px; font-weight: 300; }
.modal-close { cursor: none; }

/* ── SEND EMAIL MODAL ────────────────────────── */
.send-email-modal {
  padding: 48px 52px 44px;
  max-width: 620px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.send-email-modal-x {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; font-size: 1.1rem;
  color: var(--text-muted); cursor: pointer; padding: 4px 8px;
  transition: color 0.2s;
}
.send-email-modal-x:hover { color: var(--charcoal); }
.send-email-tagline {
  font-size: 0.88rem; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 20px; font-weight: 300;
}
.send-email-warning {
  display: flex; gap: 12px; align-items: flex-start;
  background: #FFFBF2; border: 1px solid var(--gold);
  padding: 14px 18px; margin-bottom: 20px;
  font-size: 0.82rem; color: var(--charcoal); line-height: 1.65;
}
.send-email-warning-icon {
  background: var(--gold); color: #fff;
  font-size: 0.7rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.send-email-meta {
  font-size: 0.78rem; color: var(--text-muted); font-family: 'DM Sans', sans-serif;
  white-space: pre-line; background: #F9F6F1; border: 1px solid #E8E0D4;
  padding: 10px 14px; margin-bottom: 4px; letter-spacing: 0.01em;
}
.send-email-body {
  font-size: 0.78rem; font-family: 'DM Sans', sans-serif;
  color: var(--charcoal); line-height: 1.6; white-space: pre-wrap;
  background: #F3EFE9; border: 1px solid #E0D9CE; border-top: none;
  padding: 14px 16px; margin: 0 0 22px;
  max-height: 260px; overflow-y: auto; word-break: break-word;
}
.send-email-body::-webkit-scrollbar { width: 4px; }
.send-email-body::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
.send-email-actions {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px;
}
.send-email-copy-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--charcoal); color: #fff;
  border: none; padding: 13px 22px;
  font-family: 'DM Sans', sans-serif; font-size: 0.84rem; font-weight: 600;
  letter-spacing: 0.04em; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  flex: 1; min-width: 140px; justify-content: center;
}
.send-email-copy-btn:hover { background: #2a2420; }
.send-email-copy-btn.copied { background: #2D7A4F; }
.send-email-copy-icon { font-size: 1rem; }
.send-email-mailto-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gold); color: #fff;
  text-decoration: none; padding: 13px 22px;
  font-family: 'DM Sans', sans-serif; font-size: 0.84rem; font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s;
  flex: 1; min-width: 160px; justify-content: center;
}
.send-email-mailto-btn:hover { background: #b5922a; }
.send-email-footer {
  font-size: 0.72rem; color: var(--text-light); text-align: center;
}
.send-email-footer a { color: var(--gold); text-decoration: none; }
.send-email-footer a:hover { text-decoration: underline; }
[data-theme="dark"] .send-email-warning { background: #1f1a14; border-color: var(--gold); }
[data-theme="dark"] .send-email-meta { background: #1a1610; border-color: #3a3020; }
[data-theme="dark"] .send-email-body { background: #151210; border-color: #2e2820; color: #d4c9b8; }

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--deep); padding: 80px 60px 40px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 60px;
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300; color: var(--cream);
  letter-spacing: 0.06em; display: block; margin-bottom: 16px;
}
.footer-brand-name span { color: var(--gold); }
.footer-brand-tagline { font-size: 0.82rem; color: rgba(247,243,238,0.35); line-height: 1.8; font-weight: 300; }
.footer-col-title { font-size: 0.65rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; display: block; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  font-size: 0.82rem; color: rgba(247,243,238,0.4);
  text-decoration: none; cursor: none; transition: color 0.3s ease;
  letter-spacing: 0.02em;
}
.footer-links a:hover { color: rgba(247,243,238,0.8); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 30px; display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 0.72rem; color: rgba(247,243,238,0.2); letter-spacing: 0.08em; }
.footer-email { font-size: 0.72rem; color: var(--gold); letter-spacing: 0.08em; }

/* ── SCROLL ANIMATIONS ───────────────────────── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25,0.46,0.45,0.94), transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
}
.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; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── MISC ────────────────────────────────────── */
.page-header-small { padding: 120px 60px 60px; background: var(--cream); }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-60 { margin-top: 60px; }
.full-cta {
  background: var(--ivory); padding: 100px 60px;
  text-align: center;
}
.full-cta .section-title { margin-bottom: 20px; }
.full-cta .section-sub { margin: 0 auto 40px; }

/* ── RESPONSIVE ──────────────────────────────── */
@media(max-width: 1100px) {
  section { padding: 80px 40px; }
  nav, nav.scrolled { padding: 24px 40px; }
  #home-hero { padding: 120px 40px 80px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-full-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .portfolio-grid .portfolio-item:first-child { grid-row: span 1; }
  .configurator-layout { grid-template-columns: 1fr; }
  .cart-panel { position: static; max-height: none; }
  #home-pricing { grid-template-columns: 1fr; gap: 60px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 768px) {
  nav .nav-links { display: none; }
  .services-grid, .services-full-grid, .templates-grid, .testimonials-grid, .portfolio-full-grid { grid-template-columns: 1fr; }
  .approach-grid, .custom-features, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .config-options { grid-template-columns: 1fr 1fr; }
  .config-addons { grid-template-columns: 1fr; }
  #home-about { grid-template-columns: 1fr 1fr; }
  .portfolio-full-grid .portfolio-full-item:nth-child(4) { grid-column: span 1; }
  .services-header { grid-template-columns: 1fr; gap: 30px; }
  .portfolio-intro { grid-template-columns: 1fr; gap: 20px; }
  .config-contact-grid, .contact-form-grid { grid-template-columns: 1fr; }
  .config-field.full, .contact-field.full { grid-column: span 1; }
  footer { padding: 60px 30px 30px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ── LOADING SCREEN ──────────────────────────── */
#loading {
  position: fixed; inset: 0; z-index: 9997;
  background: var(--charcoal);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 30px;
}
.loading-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300; color: var(--cream);
  letter-spacing: 0.2em; animation: loadPulse 1.5s ease infinite;
}
.loading-logo span { color: var(--gold); }
.loading-bar-wrap { width: 200px; height: 1px; background: rgba(255,255,255,0.1); }
.loading-bar { height: 100%; background: var(--gold); width: 0; transition: width 2s cubic-bezier(0.25,0.46,0.45,0.94); }
@keyframes loadPulse {
  0%,100% { opacity: 1; } 50% { opacity: 0.6; }
}


/* ═══════════════════════════════════════════════════════════════
   MARKETING & LEAD GEN PAGES
   ═══════════════════════════════════════════════════════════════ */

/* ── Shared service page hero ───────────────────────────── */
.svc-hero-section {
  padding: 180px 60px 110px;
  background: var(--ivory);
  position: relative; overflow: hidden;
}
.svc-hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 60%, rgba(196,168,130,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.svc-hero-inner { position: relative; z-index: 1; max-width: 820px; }
.svc-hero-inner .section-label { margin-bottom: 28px; }
.svc-hero-inner .section-title { margin-bottom: 0; }
.svc-hero-inner .divider { margin: 30px 0 24px; }
.svc-hero-inner .section-sub { margin-top: 0; }
.svc-hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px;
}

/* ── Marketing: process steps (on dark bg) ──────────────── */
.mkt-steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 3px; position: relative;
}
.mkt-step {
  padding: 56px 48px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(247,243,238,0.06);
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.mkt-step::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s ease;
}
.mkt-step:hover::before { transform: scaleX(1); }
.mkt-step:hover { background: rgba(255,255,255,0.05); }
.mkt-step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem; font-weight: 300; color: rgba(196,168,130,0.25);
  display: block; margin-bottom: 20px; line-height: 1;
}
.mkt-step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 400; color: var(--cream);
  margin-bottom: 16px; line-height: 1.2;
}
.mkt-step p {
  font-size: 0.87rem; line-height: 1.85; font-weight: 300;
  color: rgba(247,243,238,0.5);
}

/* ── Trust strip ────────────────────────────────────────── */
.mkt-trust-strip {
  display: flex; align-items: flex-start; gap: 24px;
  padding: 48px 60px;
  background: var(--cream);
  border-top: 1px solid var(--beige);
  border-bottom: 1px solid var(--beige);
}
.mkt-trust-icon {
  font-size: 1.4rem; color: var(--gold); flex-shrink: 0; margin-top: 2px;
}
.mkt-trust-strip p {
  font-size: 0.95rem; font-weight: 300; color: var(--text-muted);
  line-height: 1.9; max-width: 720px; letter-spacing: 0.01em;
}

/* ── FAQ ────────────────────────────────────────────────── */
.mkt-faq-section {
  padding: 80px 60px 100px;
  background: var(--ivory);
  border-top: 1px solid var(--beige);
}
.mkt-faq-inner { max-width: 740px; margin: 0 auto; }
.mkt-faq { margin-top: 0; }
.mkt-faq-item {
  border-bottom: 1px solid var(--beige);
  padding: 32px 0;
  transition: var(--transition-fast);
}
.mkt-faq-item:first-child { border-top: 1px solid var(--beige); }
.mkt-faq-q {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 400; color: var(--charcoal);
  margin-bottom: 14px; line-height: 1.3;
}
.mkt-faq-a {
  font-size: 0.88rem; font-weight: 300; color: var(--text-muted);
  line-height: 1.9; letter-spacing: 0.01em;
}

/* ── Lead Gen: stats strip ──────────────────────────────── */
.lg-stats-strip {
  background: var(--deep);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background-color: rgba(255,255,255,0.04);
}
.lg-stat {
  background: var(--deep); padding: 52px 40px; text-align: center;
}
.lg-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; font-weight: 300; color: var(--gold-light);
  display: block; line-height: 1;
}
.lg-stat-label {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(247,243,238,0.4); margin-top: 12px; display: block;
}

/* ── Lead Gen: features grid ────────────────────────────── */
.lg-features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.lg-feature {
  background: var(--ivory); padding: 44px 36px;
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.lg-feature::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s ease;
}
.lg-feature:hover::before { transform: scaleX(1); }
.lg-feature:hover { background: #EDE5DA; transform: translateY(-3px); }
.lg-feature-icon {
  font-size: 1.7rem; display: block; margin-bottom: 18px;
}
.lg-feature h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 400; color: var(--charcoal);
  margin-bottom: 12px; line-height: 1.25;
}
.lg-feature p {
  font-size: 0.82rem; color: var(--text-muted); line-height: 1.8; font-weight: 300;
}

/* ── Services page: offering blocks ────────────────────── */
.svc-offering-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; background: var(--cream);
  min-height: 620px;
}
.svc-offering-block.svc-offering-flip { direction: rtl; }
.svc-offering-block.svc-offering-flip > * { direction: ltr; }
.svc-offering-content {
  padding: 90px 70px; display: flex; flex-direction: column; justify-content: center;
}
.svc-offering-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem; font-weight: 300; color: rgba(44,40,37,0.06);
  line-height: 1; display: block; margin-bottom: -12px;
}
.svc-offering-content .section-label { margin-bottom: 14px; }
.svc-offering-content .section-title { margin-bottom: 0; }
.svc-offering-content .section-sub { margin-top: 20px; }
.svc-offering-list {
  list-style: none; margin-top: 32px; display: flex; flex-direction: column; gap: 12px;
}
.svc-offering-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.88rem; color: var(--text-muted); font-weight: 300; line-height: 1.6;
}
.svc-offering-list li span { color: var(--gold); flex-shrink: 0; margin-top: 1px; }

/* offering visual panel */
.svc-offering-visual {
  display: flex; align-items: center; justify-content: center;
  background: var(--ivory); padding: 60px 50px;
}
.svc-offering-mock {
  width: 100%; max-width: 380px;
  border-radius: 4px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(44,40,37,0.14);
}

/* Website mock */
.svc-mock-web { background: var(--cream); }
.som-bar {
  background: var(--charcoal); padding: 10px 14px;
  display: flex; gap: 6px; align-items: center;
}
.som-bar span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(247,243,238,0.15); display: block;
}
.som-hero {
  background: var(--charcoal); padding: 36px 28px 32px;
  text-align: center; position: relative; overflow: hidden;
}
.som-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(196,168,130,0.1), transparent);
}
.som-eyebrow {
  font-size: 8px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px; position: relative;
}
.som-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 300; line-height: 1.15;
  color: var(--cream); position: relative; margin-bottom: 20px;
}
.som-headline em { font-style: italic; color: var(--gold); }
.som-btn {
  display: inline-block; background: var(--gold); color: var(--deep);
  font-size: 8px; letter-spacing: 2px; text-transform: uppercase;
  padding: 8px 20px; border-radius: 2px; position: relative;
}
.som-grid {
  padding: 20px 16px; display: grid; grid-template-columns: repeat(3,1fr); gap: 6px;
}
.som-card {
  height: 48px; background: var(--beige); border-radius: 2px;
}

/* Marketing mock */
.svc-mock-mkt { background: #1A1714; padding: 24px; }
.som-mkt-post {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(247,243,238,0.06);
  border-radius: 3px; margin-bottom: 10px; overflow: hidden;
}
.som-mkt-img {
  height: 60px; background: rgba(196,168,130,0.08);
}
.som-mkt-caption {
  font-size: 7px; color: rgba(247,243,238,0.35);
  padding: 7px 10px; letter-spacing: 0.5px;
}
.som-mkt-stats {
  display: flex; gap: 8px; margin-top: 14px;
}
.som-mkt-stat {
  flex: 1; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(196,168,130,0.12);
  border-radius: 3px; padding: 10px 6px; text-align: center;
  display: flex; flex-direction: column; gap: 4px;
}
.som-mkt-stat span:first-child {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px; font-weight: 300; color: var(--gold-light);
}
.som-mkt-stat span:last-child { font-size: 6px; color: rgba(247,243,238,0.3); letter-spacing: 1px; }

/* Lead Gen mock */
.svc-mock-lg {
  background: var(--cream); padding: 20px;
  font-family: 'DM Sans', sans-serif;
}
.som-lg-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.som-lg-row {
  display: grid; grid-template-columns: 1.4fr 1.6fr 1fr;
  gap: 6px; padding: 7px 8px; font-size: 7px;
  border-bottom: 1px solid var(--beige);
}
.som-lg-head {
  background: var(--charcoal); border-radius: 2px 2px 0 0;
  color: rgba(247,243,238,0.55); font-size: 6px;
  letter-spacing: 1px; text-transform: uppercase; border-bottom: none;
}
.som-lg-row span { color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.som-lg-fade { opacity: 0.4; }
.som-lg-footer {
  font-size: 6.5px; color: var(--gold); letter-spacing: 0.5px;
  padding: 10px 8px; text-align: center;
  border-top: 1px solid var(--beige); margin-top: 2px;
}

/* ── Lead Gen: email outreach callout ──────────────────── */
.lg-email-callout {
  background: var(--ivory); border-top: 1px solid var(--beige); border-bottom: 1px solid var(--beige);
  padding: 40px 60px;
}
.lg-email-callout-inner {
  display: flex; align-items: center; gap: 28px;
  max-width: 900px; margin: 0 auto;
}
.lg-email-icon {
  font-size: 2.2rem; color: var(--gold); flex-shrink: 0;
}
.lg-email-callout-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 400; color: var(--charcoal);
  margin-bottom: 6px;
}
.lg-email-callout-sub {
  font-size: 0.85rem; font-weight: 300; color: var(--text-muted);
  line-height: 1.8; max-width: 560px;
}

/* ── Nav: tighten gap at mid widths to fit extra links ──── */
@media (max-width: 1280px) {
  .nav-links { gap: 22px; }
}
@media (max-width: 1100px) {
  .nav-links { gap: 18px; }
  .svc-hero-section { padding: 140px 40px 90px; }
  .mkt-steps-grid { grid-template-columns: 1fr; }
  .lg-features-grid { grid-template-columns: repeat(2, 1fr); }
  .lg-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .mkt-trust-strip { padding: 40px; }
  .mkt-faq-section { padding: 60px 40px 80px; }
  .svc-offering-block { grid-template-columns: 1fr; min-height: auto; }
  .svc-offering-block.svc-offering-flip { direction: ltr; }
  .svc-offering-content { padding: 60px 40px; }
  .lg-email-callout { padding: 32px 40px; }
  .lg-email-callout-inner { flex-wrap: wrap; gap: 16px; }
}
@media (max-width: 768px) {
  .svc-hero-section { padding: 120px 30px 70px; }
  .svc-hero-actions { flex-direction: column; }
  .mkt-steps-grid { grid-template-columns: 1fr; }
  .mkt-step { padding: 40px 30px; }
  .lg-features-grid { grid-template-columns: 1fr; }
  .lg-stats-strip { grid-template-columns: 1fr 1fr; }
  .mkt-trust-strip { padding: 32px 30px; flex-direction: column; gap: 12px; }
  .mkt-faq-section { padding: 50px 30px 70px; }
  .svc-offering-content { padding: 50px 30px; }
  .svc-offering-visual { padding: 40px 30px; }
  .lg-email-callout { padding: 28px 30px; }
  .lg-email-callout-inner { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════
   NEW ADDITIONS — appended below all original styles
   ═══════════════════════════════════════════════════════════════ */


/* ── DARK MODE VARIABLES ───────────────────────── */
[data-theme="dark"] {
  --cream: #131110;
  --ivory: #1A1714;
  --beige: #221E1B;
  --sand: #2A2725;
  --charcoal: #EDE7DF;
  --deep: #0D0B09;
  --text-main: #EDE7DF;
  --text-muted: #9A8E84;
  --text-light: #4A4240;
  /* --gold and --gold-light remain unchanged */
}

/* ── DARK MODE SECTION OVERRIDES ─────────────────── */

/* Sections that used var(--charcoal) as their background colour.
   In dark mode --charcoal flips to a light value, so we pin these
   sections back to genuinely dark backgrounds. */
[data-theme="dark"] #home-about,
[data-theme="dark"] .about-stat,
[data-theme="dark"] #home-pricing,
[data-theme="dark"] .approach-card.left,
[data-theme="dark"] #custom-hero,
[data-theme="dark"] .cart-panel,
[data-theme="dark"] #loading {
  background: #1E1B18;
}

/* Elements that carry an inline background referencing charcoal */
[data-theme="dark"] [style*="charcoal"] {
  background: #1E1B18 !important;
  color: #EDE7DF !important;
}

/* btn-primary uses var(--charcoal) for its bg — in dark mode that
   resolves to light, so we restore a dark button with light text. */
[data-theme="dark"] .btn-primary {
  background: #EDE7DF;
  color: #131110;
}
[data-theme="dark"] .btn-primary::before {
  background: var(--gold);
}

/* Text that lives inside the always-dark sections needs to stay light */
[data-theme="dark"] #home-about .about-stat-num,
[data-theme="dark"] #home-about .about-stat-label {
  /* already using rgba(247,243,238,…) hard-coded — remains correct */
}

[data-theme="dark"] #home-pricing .pricing-left .section-title,
[data-theme="dark"] #home-pricing .pricing-left .section-sub,
[data-theme="dark"] #home-pricing .pricing-card-name,
[data-theme="dark"] #home-pricing .pricing-card-type,
[data-theme="dark"] #home-pricing .pricing-card-price,
[data-theme="dark"] #home-pricing .pricing-card-price span,
[data-theme="dark"] #home-pricing .pricing-note {
  /* hard-coded rgba values in original rules remain valid */
}

/* Nav scrolled state — keep readable in dark mode */
[data-theme="dark"] nav.scrolled {
  background: rgba(19, 17, 16, 0.92);
  border-bottom-color: rgba(90, 75, 60, 0.2);
}
[data-theme="dark"] .nav-hist-btn { color: #5A4E48; }
[data-theme="dark"] .nav-hist-btn:not(:disabled):hover { background: #1E1B18; border-color: #3A3430; color: #C8BEB5; }

/* Testimonial hover */
[data-theme="dark"] .testimonial-card:hover { background: #2A2520; }

/* Service card hover */
[data-theme="dark"] .service-card:hover { background: #252220; }

/* Config option hover */
[data-theme="dark"] .config-option:hover { background: #252220; }

/* Contact form background */
[data-theme="dark"] .contact-form-wrap { background: var(--ivory); }

/* Success modal */
[data-theme="dark"] .modal { background: var(--ivory); }

/* Footer — already uses var(--deep) which stays very dark */

/* Portfolio items */
[data-theme="dark"] .portfolio-item,
[data-theme="dark"] .portfolio-full-item { background: var(--sand); }

/* ── DARK MODE TRANSITION ─────────────────────────── */
.dm-transitioning,
.dm-transitioning * {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.3s ease !important;
}

/* ── DARK MODE TOGGLE BUTTON ─────────────────────── */
.lang-toggle {
  background: transparent;
  border: 1px solid var(--sand);
  color: var(--text-muted);
  height: 34px;
  padding: 0 12px;
  border-radius: 20px;
  cursor: none;
  transition: var(--transition-fast);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  flex-shrink: 0;
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold); }
.lang-toggle.active { border-color: var(--gold); color: var(--gold); background: rgba(180,140,80,0.08); }
[data-theme="dark"] .lang-toggle { border-color: #3a3530; color: #7a7270; }
[data-theme="dark"] .lang-toggle:hover, [data-theme="dark"] .lang-toggle.active { border-color: var(--gold); color: var(--gold); }

.dark-mode-toggle {
  background: transparent;
  border: 1px solid var(--sand);
  color: var(--text-muted);
  height: 34px;
  padding: 0 14px;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  gap: 7px;
  cursor: none;
  transition: var(--transition-fast);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.dark-mode-toggle:hover { border-color: var(--gold); color: var(--gold); }
[data-theme="dark"] .dark-mode-toggle { border-color: var(--gold); color: var(--gold); }
.dm-label { font-family: 'DM Sans', sans-serif; font-size: 0.68rem; letter-spacing: 0.1em; }


/* ── PREVIEW MODAL ─────────────────────────────── */
.preview-modal-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(13, 11, 9, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
}
.preview-modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-modal {
  max-width: 1160px;
  width: 94vw;
  height: 88vh;
  max-height: 820px;
  display: grid;
  grid-template-columns: 320px 1fr;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 60px 120px rgba(0, 0, 0, 0.5);
  animation: modalIn 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Info panel (left column) */
.preview-modal-info {
  background: var(--charcoal);
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
[data-theme="dark"] .preview-modal-info { background: #1E1B18; }

.preview-modal-info::-webkit-scrollbar { width: 4px; }
.preview-modal-info::-webkit-scrollbar-track { background: transparent; }
.preview-modal-info::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

.preview-modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 32px; height: 32px; border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(237, 231, 223, 0.2);
  color: rgba(237, 231, 223, 0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: none;
  transition: var(--transition-fast);
}
.preview-modal-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.preview-modal-label {
  font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 18px; margin-top: 8px;
}
.preview-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 300; line-height: 1.1;
  color: #EDE7DF;
  margin-bottom: 12px;
}
.preview-modal-category {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(237, 231, 223, 0.4); display: block; margin-bottom: 24px;
}
.preview-modal-desc {
  font-size: 0.85rem; line-height: 1.85; font-weight: 300;
  color: rgba(237, 231, 223, 0.6);
  margin-bottom: 32px;
}

.preview-modal-features {
  list-style: none; margin-bottom: 36px; flex: 1;
}
.preview-modal-features li {
  font-size: 0.8rem; color: rgba(237, 231, 223, 0.65);
  padding: 9px 0; border-bottom: 1px solid rgba(237, 231, 223, 0.07);
  display: flex; align-items: center; gap: 12px; line-height: 1.5;
}
.preview-modal-features li:last-child { border-bottom: none; }
.preview-modal-features li::before {
  content: '✓';
  color: var(--gold); font-size: 0.7rem; flex-shrink: 0;
}

.preview-modal-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300; color: var(--gold-light);
  display: block; margin-bottom: 6px;
}
.preview-modal-price-note {
  font-size: 0.7rem; color: rgba(237, 231, 223, 0.3);
  letter-spacing: 0.08em; display: block; margin-bottom: 28px;
}

.preview-modal-cta {
  display: flex; flex-direction: column; gap: 10px;
}
.preview-modal-cta .btn-primary {
  width: 100%; text-align: center; justify-content: center;
  padding: 14px 24px;
}
.preview-modal-cta .btn-outline {
  width: 100%; text-align: center;
  padding: 13px 24px;
  border-color: rgba(237, 231, 223, 0.2);
  color: rgba(237, 231, 223, 0.6);
}
.preview-modal-cta .btn-outline:hover {
  background: rgba(237, 231, 223, 0.08);
  border-color: rgba(237, 231, 223, 0.4);
  color: #EDE7DF;
}

/* ── Frame panel (right column) */
.preview-modal-frame {
  display: flex; flex-direction: column;
  background: var(--beige);
  overflow: hidden;
}
[data-theme="dark"] .preview-modal-frame { background: #252220; }

.preview-browser-bar {
  background: var(--ivory);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--beige);
  flex-shrink: 0;
}
[data-theme="dark"] .preview-browser-bar {
  background: #1E1B18;
  border-bottom-color: #2A2725;
}

.preview-browser-dots {
  display: flex; gap: 6px; flex-shrink: 0;
}
.preview-browser-dots span {
  width: 11px; height: 11px; border-radius: 50%; display: block;
}
.preview-browser-dots span:nth-child(1) { background: #FF5F57; }
.preview-browser-dots span:nth-child(2) { background: #FEBC2E; }
.preview-browser-dots span:nth-child(3) { background: #28C840; }

.preview-browser-url {
  flex: 1; background: var(--beige);
  border: 1px solid var(--sand); border-radius: 20px;
  padding: 5px 14px; font-size: 0.72rem;
  color: var(--text-muted); letter-spacing: 0.03em;
  text-overflow: ellipsis; overflow: hidden; white-space: nowrap;
}
[data-theme="dark"] .preview-browser-url {
  background: #2A2725; border-color: #3A3430; color: #7A6E65;
}

.preview-iframe {
  flex: 1;
  border: none;
  width: 100%;
  min-height: 0;
  display: block;
}

/* Responsive: stack on small screens */
@media (max-width: 860px) {
  .preview-modal {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    height: 92vh;
    max-height: none;
  }
  .preview-modal-info {
    padding: 36px 28px;
    max-height: 300px;
  }
}


/* ── CHATBOT ────────────────────────────────────── */

/* Trigger button (bottom-right fab) */
.chatbot-trigger {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 2500;
  height: 48px;
  padding: 0 20px 0 16px;
  border-radius: 28px;
  background: var(--charcoal);
  border: none;
  display: flex; align-items: center; justify-content: center;
  gap: 9px;
  cursor: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.14);
  transition: var(--transition-fast);
  color: var(--gold);
}
.chatbot-trigger-icon { font-size: 1rem; flex-shrink: 0; }
.chatbot-trigger-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(237, 231, 223, 0.85);
  font-weight: 400;
}
.chatbot-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.34);
  background: #2A2725;
}
[data-theme="dark"] .chatbot-trigger { background: #1E1B18; }

/* Panel */
.chatbot-panel {
  position: fixed;
  bottom: 96px; right: 30px;
  z-index: 2500;
  width: 360px;
  max-height: 520px;
  display: flex; flex-direction: column;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.35s ease;
}
.chatbot-panel.open,
.chatbot-panel.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Header */
.chatbot-header {
  background: var(--charcoal);
  padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
  flex-shrink: 0;
}
[data-theme="dark"] .chatbot-header { background: #1E1B18; }

.chatbot-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; color: var(--deep);
  flex-shrink: 0;
}
.chatbot-name {
  flex: 1;
}
.chatbot-name strong {
  display: block; font-size: 0.88rem; font-weight: 500; color: #EDE7DF;
}
.chatbot-name span {
  font-size: 0.68rem; color: rgba(237, 231, 223, 0.45); letter-spacing: 0.06em;
}
.chatbot-close {
  background: transparent; border: none;
  color: rgba(237, 231, 223, 0.4); font-size: 1.1rem;
  cursor: none; transition: color 0.2s ease;
  display: flex; align-items: center; justify-content: center;
  padding: 4px;
}
.chatbot-close:hover { color: rgba(237, 231, 223, 0.9); }

/* Messages area */
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
  display: flex; flex-direction: column; gap: 14px;
  background: var(--cream);
  scrollbar-width: thin;
  scrollbar-color: var(--sand) transparent;
}
[data-theme="dark"] .chatbot-messages { background: #131110; }

.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--sand); border-radius: 2px; }

/* Individual messages */
.chat-msg {
  display: flex;
  align-items: flex-end; gap: 8px;
}
.chat-msg.bot { justify-content: flex-start; }
.chat-msg.user { justify-content: flex-end; }

.chat-bubble {
  max-width: 80%;
  padding: 11px 15px;
  border-radius: 2px;
  font-size: 0.84rem;
  line-height: 1.65;
  font-weight: 300;
}
.chat-msg.bot .chat-bubble {
  background: var(--ivory);
  color: var(--text-main);
  border-left: 2px solid var(--gold);
  border-radius: 0 4px 4px 0;
}
[data-theme="dark"] .chat-msg.bot .chat-bubble {
  background: #1A1714;
  color: #EDE7DF;
}
.chat-msg.user .chat-bubble {
  background: var(--charcoal);
  color: #EDE7DF;
  border-radius: 4px 0 0 4px;
}
[data-theme="dark"] .chat-msg.user .chat-bubble { background: #2A2725; }

/* Quick replies */
.chatbot-quick-replies {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 10px 16px 14px;
  background: var(--cream);
  border-top: 1px solid var(--beige);
}
[data-theme="dark"] .chatbot-quick-replies {
  background: #131110;
  border-top-color: #221E1B;
}

.quick-reply-btn,
.chatbot-quick-btn {
  background: transparent;
  border: 1px solid var(--sand);
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.06em;
  padding: 6px 14px; border-radius: 20px;
  cursor: none; transition: var(--transition-fast);
}
.quick-reply-btn:hover,
.chatbot-quick-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}
[data-theme="dark"] .quick-reply-btn { border-color: #3A3430; color: #7A6E65; }
[data-theme="dark"] .quick-reply-btn:hover { border-color: var(--gold); color: var(--gold); }

/* Input area */
.chatbot-input-area {
  display: flex; align-items: center; gap: 0;
  background: var(--ivory);
  border-top: 1px solid var(--beige);
  flex-shrink: 0;
}
[data-theme="dark"] .chatbot-input-area {
  background: #1A1714;
  border-top-color: #221E1B;
}

.chatbot-input {
  flex: 1;
  background: var(--ivory);
  border: none; outline: none;
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem; color: var(--text-main);
  font-weight: 300;
  transition: border-color 0.25s ease;
  border-left: 2px solid transparent;
}
.chatbot-input::placeholder { color: var(--text-light); }
.chatbot-input:focus { border-left-color: var(--gold); }
[data-theme="dark"] .chatbot-input { background: #1A1714; color: #EDE7DF; }
[data-theme="dark"] .chatbot-input::placeholder { color: #4A4240; }

.chatbot-send-btn {
  background: var(--charcoal);
  border: none; color: var(--gold);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: none; flex-shrink: 0;
  transition: background 0.25s ease;
}
.chatbot-send-btn:hover { background: var(--deep); }
[data-theme="dark"] .chatbot-send-btn { background: #2A2725; }
[data-theme="dark"] .chatbot-send-btn:hover { background: #3A3430; }

/* Mobile adjustments for chatbot */
@media (max-width: 480px) {
  .chatbot-panel { width: calc(100vw - 32px); right: 16px; bottom: 86px; }
  .chatbot-trigger { bottom: 20px; right: 20px; }
}

/* ── CHATBOT WELCOME STATE ───────────────────────────── */
.chatbot-welcome {
  flex: 1;
  padding: 24px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: var(--cream);
  overflow-y: auto;
}
[data-theme="dark"] .chatbot-welcome { background: #131110; }

.chatbot-welcome-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.3;
}
[data-theme="dark"] .chatbot-welcome-intro { color: #EDE7DF; }

.chatbot-welcome-sub {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2px;
  padding: 0 2px;
}

.chatbot-preset-btn {
  background: var(--ivory);
  border: 1px solid var(--beige);
  border-radius: 4px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: none;
  transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 300;
  width: 100%;
}
.chatbot-preset-btn:hover {
  border-color: var(--gold);
  background: var(--cream);
  transform: translateX(4px);
}
[data-theme="dark"] .chatbot-preset-btn { background: #1A1714; border-color: #2A2725; color: #C8BEB5; }
[data-theme="dark"] .chatbot-preset-btn:hover { border-color: var(--gold); background: #211E1B; }

.preset-arrow {
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.2s ease;
  font-size: 1rem;
  flex-shrink: 0;
}
.chatbot-preset-btn:hover .preset-arrow { opacity: 1; }

/* Typing dots indicator */
.chat-typing-dots {
  display: flex; align-items: center; gap: 5px;
  padding: 12px 16px;
}
.chat-typing-dots span {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  animation: typingBounce 1.2s infinite ease-in-out;
}
.chat-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-5px); opacity: 1; }
}

/* ── NAV ACCOUNT LINK ─────────────────────────────────── */
.nav-account-link {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--sand);
  padding: 6px 14px;
  border-radius: 20px;
  transition: var(--transition-fast);
  white-space: nowrap;
}
.nav-account-link:hover { color: var(--gold); border-color: var(--gold); }
[data-theme="dark"] .nav-account-link { border-color: #3A3430; color: #7A6E65; }
[data-theme="dark"] .nav-account-link:hover { border-color: var(--gold); color: var(--gold); }

/* ── ACCOUNT AUTH PAGE ────────────────────────────────── */
.account-auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-left {
  background: var(--charcoal);
  padding: 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  color: var(--cream);
  margin-bottom: 60px;
}
.auth-brand span { color: var(--gold); }
.auth-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 24px;
}
.auth-headline em { font-style: italic; color: var(--gold); }
.auth-sub {
  font-size: 0.88rem;
  color: rgba(237, 231, 223, 0.5);
  line-height: 1.9;
  font-weight: 300;
  max-width: 400px;
  margin-bottom: 48px;
}
.auth-features { display: flex; flex-direction: column; gap: 16px; }
.auth-feature {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.84rem;
  color: rgba(237, 231, 223, 0.65);
  font-weight: 300;
}
.auth-feature span { color: var(--gold); font-size: 0.75rem; flex-shrink: 0; }

.auth-right {
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 50px;
}
[data-theme="dark"] .auth-right { background: #131110; }

.auth-card {
  width: 100%;
  max-width: 400px;
}
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--beige);
}
[data-theme="dark"] .auth-tabs { border-bottom-color: #2A2725; }
.auth-tab {
  background: transparent;
  border: none;
  padding: 12px 20px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  cursor: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.auth-tab.active { color: var(--charcoal); border-bottom-color: var(--gold); font-weight: 500; }
[data-theme="dark"] .auth-tab.active { color: #EDE7DF; }

.auth-field { margin-bottom: 20px; }
.auth-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.auth-input {
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--beige);
  border-radius: 2px;
  padding: 13px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--text-main);
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s ease;
}
.auth-input:focus { border-color: var(--gold); }
[data-theme="dark"] .auth-input { background: #1A1714; border-color: #2A2725; color: #EDE7DF; }
[data-theme="dark"] .auth-input:focus { border-color: var(--gold); }

.auth-submit-btn { width: 100%; margin-top: 8px; }
.auth-demo-note {
  font-size: 0.72rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 16px;
}

/* ── CLIENT DASHBOARD ─────────────────────────────────── */
#account-dashboard {
  min-height: 100vh;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
}
[data-theme="dark"] #account-dashboard { background: #0E0C0A; }

/* Top bar */
.dash-topbar {
  background: var(--cream);
  border-bottom: 1px solid var(--beige);
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky; top: 0; z-index: 200;
  flex-shrink: 0;
}
[data-theme="dark"] .dash-topbar { background: #131110; border-bottom-color: #1E1B18; }
.dash-topbar-left { display: flex; align-items: center; gap: 16px; }
.dash-topbar-divider { width: 1px; height: 18px; background: var(--beige); flex-shrink: 0; }
[data-theme="dark"] .dash-topbar-divider { background: #2A2725; }
.dash-topbar-home-btn {
  display: flex; align-items: center; gap: 7px;
  background: transparent; border: 1px solid var(--beige);
  color: var(--text-muted); font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.08em; padding: 6px 14px;
  border-radius: 20px; cursor: none; transition: var(--transition-fast);
  white-space: nowrap; flex-shrink: 0;
}
.dash-topbar-home-btn:hover { border-color: var(--charcoal); color: var(--charcoal); }
[data-theme="dark"] .dash-topbar-home-btn { border-color: #2A2725; color: #6A6260; }
[data-theme="dark"] .dash-topbar-home-btn:hover { border-color: #EDE7DF; color: #EDE7DF; }
.dash-topbar-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: var(--charcoal);
}
.dash-topbar-brand span { color: var(--gold); }
[data-theme="dark"] .dash-topbar-brand { color: #EDE7DF; }
.dash-topbar-right { display: flex; align-items: center; gap: 20px; }
.dash-topbar-user {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
}
[data-theme="dark"] .dash-topbar-user { color: #6A6260; }

/* Layout: sidebar + main */
.dash-layout {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* Sidebar */
.dash-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--cream);
  border-right: 1px solid var(--beige);
  display: flex;
  flex-direction: column;
  padding: 28px 0 24px;
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
}
[data-theme="dark"] .dash-sidebar { background: #0F0D0B; border-right-color: #1A1714; }

.dash-sidebar-section { padding: 0 16px; margin-bottom: 8px; }
.dash-sidebar-label {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 0 12px;
  margin-bottom: 6px;
}
.dash-sidebar-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  background: transparent;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.83rem;
  color: var(--text-muted);
  cursor: none;
  transition: background 0.18s ease, color 0.18s ease;
  text-align: left;
  position: relative;
  margin-bottom: 2px;
}
.dash-sidebar-item:hover { background: var(--sand); color: var(--charcoal); }
.dash-sidebar-item.active {
  background: var(--beige);
  color: var(--charcoal);
  font-weight: 500;
}
[data-theme="dark"] .dash-sidebar-item { color: #6A6260; }
[data-theme="dark"] .dash-sidebar-item:hover { background: #1A1714; color: #C8BEB5; }
[data-theme="dark"] .dash-sidebar-item.active { background: #1A1714; color: #EDE7DF; }
.dsi-icon {
  font-size: 0.85rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
  color: var(--text-light);
}
.dash-sidebar-item.active .dsi-icon,
.dash-sidebar-item:hover .dsi-icon { color: var(--gold); }
.dash-sidebar-badge {
  margin-left: auto;
  background: var(--gold);
  color: var(--deep);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  letter-spacing: 0;
}
.dash-sidebar-divider {
  height: 1px;
  background: var(--beige);
  margin: 16px 16px;
}
[data-theme="dark"] .dash-sidebar-divider { background: #1A1714; }
.dash-sidebar-footer {
  margin-top: auto;
  padding: 20px 28px 0;
}
.dash-sidebar-brand-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  color: var(--text-light);
}
.dash-sidebar-brand-mark span { color: var(--gold); opacity: 0.6; }
.dash-sidebar-footer-sub {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  margin-top: 4px;
}

/* Main content */
.dash-main {
  flex: 1;
  padding: 44px 48px;
  overflow-y: auto;
  min-width: 0;
}

.dash-page-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 32px; gap: 20px;
}
.dash-page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 8px;
}
[data-theme="dark"] .dash-page-title { color: #EDE7DF; }
.dash-page-sub { font-size: 0.86rem; color: var(--text-muted); font-weight: 300; }

.dash-action-btn {
  background: var(--charcoal);
  color: var(--cream);
  border: none;
  padding: 11px 22px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  cursor: none;
  border-radius: 2px;
  transition: var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}
.dash-action-btn:hover { background: var(--deep); }
[data-theme="dark"] .dash-action-btn { background: #2A2725; }

.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 24px;
}
.dash-stat-card {
  background: var(--cream);
  border: 1px solid var(--beige);
  padding: 22px 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.dash-stat-clickable { cursor: pointer; }
.dash-stat-clickable:hover { border-color: var(--gold); }
[data-theme="dark"] .dash-stat-card { background: #131110; border-color: #1E1B18; }
.dash-stat-label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
}
.dash-stat-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--charcoal);
}
[data-theme="dark"] .dash-stat-val { color: #EDE7DF; }

.dash-grid-2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }

.dash-card {
  background: var(--cream);
  border: 1px solid var(--beige);
  padding: 26px 24px;
}
[data-theme="dark"] .dash-card { background: #131110; border-color: #1E1B18; }
.dash-card-title {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Phases */
.dash-phases { display: flex; flex-direction: column; gap: 0; margin-bottom: 20px; }
.dash-phase {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--beige);
  opacity: 0.4;
}
[data-theme="dark"] .dash-phase { border-bottom-color: #1E1B18; }
.dash-phase:last-child { border-bottom: none; }
.dash-phase.done, .dash-phase.current { opacity: 1; }
.dash-phase-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--sand);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; flex-shrink: 0; color: var(--text-light); margin-top: 1px;
}
.dash-phase-dot.done { background: var(--charcoal); color: var(--gold); border-color: var(--charcoal); }
.dash-phase-dot.current { background: var(--gold); color: var(--deep); border-color: var(--gold); }
[data-theme="dark"] .dash-phase-dot.done { background: #2A2725; border-color: #3A3430; }
.dash-phase-info { display: flex; flex-direction: column; gap: 3px; }
.dash-phase-name { font-size: 0.84rem; color: var(--text-main); }
[data-theme="dark"] .dash-phase-name { color: #C8BEB5; }
.dash-phase-date { font-size: 0.7rem; color: var(--text-light); }

.dash-prog-wrap {
  height: 3px; background: var(--beige); border-radius: 2px; overflow: hidden; margin-bottom: 8px;
}
[data-theme="dark"] .dash-prog-wrap { background: #1E1B18; }
.dash-prog-bar { height: 100%; background: var(--gold); border-radius: 2px; }
.dash-prog-label { font-size: 0.7rem; color: var(--text-light); }

.dash-update-row { display: flex; gap: 14px; align-items: flex-start; }
.dash-update-icon {
  width: 30px; height: 30px; background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--deep); font-size: 0.75rem; flex-shrink: 0;
}
.dash-update-text { font-size: 0.84rem; color: var(--text-main); line-height: 1.7; font-weight: 300; margin-bottom: 6px; }
[data-theme="dark"] .dash-update-text { color: #C8BEB5; }
.dash-update-time { font-size: 0.7rem; color: var(--text-light); }

.dash-mini-details { display: flex; flex-direction: column; }
.dash-mini-row {
  display: flex; justify-content: space-between;
  padding: 9px 0; border-bottom: 1px solid var(--beige);
  font-size: 0.82rem;
}
[data-theme="dark"] .dash-mini-row { border-bottom-color: #1E1B18; }
.dash-mini-row:last-child { border-bottom: none; }
.dash-mini-row span:first-child { color: var(--text-light); }
.dash-mini-row span:last-child { color: var(--text-main); }
[data-theme="dark"] .dash-mini-row span:last-child { color: #C8BEB5; }

.dash-detail-grid { display: flex; flex-direction: column; }
.dash-detail-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--beige); font-size: 0.83rem;
}
[data-theme="dark"] .dash-detail-row { border-bottom-color: #1E1B18; }
.dash-detail-row:last-child { border-bottom: none; }
.dd-label { color: var(--text-light); flex-shrink: 0; }
.dd-val { color: var(--text-main); font-weight: 400; text-align: right; }
[data-theme="dark"] .dd-val { color: #C8BEB5; }

.dash-checklist { display: flex; flex-direction: column; }
.dash-check-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--beige);
  font-size: 0.84rem; color: var(--text-light); font-weight: 300;
}
[data-theme="dark"] .dash-check-item { border-bottom-color: #1E1B18; color: #4A4240; }
.dash-check-item:last-child { border-bottom: none; }
.dash-check-item.done { color: var(--text-main); }
.dash-check-item.active { color: var(--charcoal); font-weight: 500; }
[data-theme="dark"] .dash-check-item.done { color: #C8BEB5; }
[data-theme="dark"] .dash-check-item.active { color: #EDE7DF; }
.dash-check-dot {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--sand);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; flex-shrink: 0; color: var(--sand);
}
.dash-check-dot.done { background: var(--charcoal); border-color: var(--charcoal); color: var(--gold); }
.dash-check-dot.active { background: var(--gold); border-color: var(--gold); color: var(--deep); }

/* Messages */
.dash-messages-wrap {
  background: var(--cream);
  border: 1px solid var(--beige);
  display: flex; flex-direction: column;
  max-height: calc(100vh - 220px);
  min-height: 400px;
}
[data-theme="dark"] .dash-messages-wrap { background: #131110; border-color: #1E1B18; }
.dash-msg-thread {
  flex: 1;
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 22px;
  overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--sand) transparent;
}
.dash-msg-thread::-webkit-scrollbar { width: 4px; }
.dash-msg-thread::-webkit-scrollbar-thumb { background: var(--sand); border-radius: 2px; }
.dash-msg-item { display: flex; gap: 14px; align-items: flex-start; }
.dash-msg-item.client { flex-direction: row-reverse; }
.dash-msg-avatar-w {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--charcoal); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 600; flex-shrink: 0;
}
[data-theme="dark"] .dash-msg-avatar-w { background: #2A2725; }
.dash-msg-content { max-width: 70%; }
.client-content { align-items: flex-end; }
.dash-msg-meta-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 5px;
}
.dash-msg-sender { font-size: 0.74rem; font-weight: 500; color: var(--text-main); }
[data-theme="dark"] .dash-msg-sender { color: #C8BEB5; }
.dash-msg-ts { font-size: 0.68rem; color: var(--text-light); }
.dash-msg-bubble {
  background: var(--ivory);
  border: 1px solid var(--beige);
  padding: 12px 16px;
  font-size: 0.85rem; line-height: 1.75; color: var(--text-main);
  font-weight: 300;
  border-radius: 0 6px 6px 6px;
}
[data-theme="dark"] .dash-msg-bubble { background: #1A1714; border-color: #2A2725; color: #C8BEB5; }
.client-bubble {
  background: var(--charcoal); color: #EDE7DF; border-color: var(--charcoal);
  border-radius: 6px 0 6px 6px;
}
[data-theme="dark"] .client-bubble { background: #2A2725; border-color: #3A3430; }
.new-badge {
  background: var(--gold); color: var(--deep);
  font-size: 0.58rem; font-weight: 700;
  padding: 2px 7px; border-radius: 10px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.dash-compose-bar {
  display: flex; align-items: flex-end; gap: 0;
  border-top: 1px solid var(--beige);
  background: var(--ivory);
  padding: 12px 16px;
  gap: 10px;
}
[data-theme="dark"] .dash-compose-bar { background: #131110; border-top-color: #1E1B18; }
.dash-compose-input {
  flex: 1; background: var(--cream); border: 1px solid var(--beige);
  border-radius: 4px; outline: none;
  padding: 10px 14px;
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem;
  color: var(--text-main); font-weight: 300;
  resize: none; max-height: 120px; line-height: 1.5;
  transition: border-color 0.2s ease;
}
.dash-compose-input:focus { border-color: var(--gold); }
.dash-compose-input::placeholder { color: var(--text-light); }
[data-theme="dark"] .dash-compose-input { background: #1A1714; border-color: #2A2725; color: #EDE7DF; }
.dash-compose-send {
  background: var(--charcoal); border: none; color: var(--gold);
  padding: 10px 20px; border-radius: 4px;
  font-family: 'DM Sans', sans-serif; font-size: 0.78rem;
  letter-spacing: 0.08em; cursor: none; display: flex; align-items: center; gap: 6px;
  transition: background 0.2s ease; flex-shrink: 0; height: 40px;
}
.dash-compose-send:hover { background: var(--deep); }
.send-arrow { font-size: 0.9rem; }
.dash-msg-note {
  font-size: 0.68rem; color: var(--text-light);
  padding: 8px 20px 12px;
  background: var(--ivory);
  border-top: 1px solid var(--beige);
  text-align: center;
}
[data-theme="dark"] .dash-msg-note { background: #0E0C0A; border-top-color: #1A1714; }
.dash-typing-dots { display: inline-flex; align-items: center; gap: 4px; }
.dash-typing-dots span {
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
  display: inline-block; animation: typingBounce 1.2s infinite ease-in-out;
}
.dash-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.dash-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

/* Files */
.dash-files-list { display: flex; flex-direction: column; }
.dash-file-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--beige);
}
[data-theme="dark"] .dash-file-row { border-bottom-color: #1E1B18; }
.dash-file-row:last-child { border-bottom: none; }
.dash-file-icon {
  width: 38px; height: 38px; background: var(--ivory); border: 1px solid var(--beige);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem; font-weight: 700; letter-spacing: 0.04em; color: var(--text-light); flex-shrink: 0;
}
.new-icon { border-color: var(--gold); color: var(--gold); }
[data-theme="dark"] .dash-file-icon { background: #1A1714; border-color: #2A2725; }
.dash-file-info { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.dash-file-name { font-size: 0.85rem; color: var(--text-main); }
[data-theme="dark"] .dash-file-name { color: #C8BEB5; }
.dash-file-meta { font-size: 0.7rem; color: var(--text-light); }
.dash-file-dl {
  background: transparent; border: 1px solid var(--sand); color: var(--text-muted);
  padding: 6px 14px; font-family: 'DM Sans', sans-serif; font-size: 0.7rem;
  letter-spacing: 0.08em; cursor: none; border-radius: 2px;
  transition: var(--transition-fast); white-space: nowrap; flex-shrink: 0;
}
.dash-file-dl:hover { border-color: var(--gold); color: var(--gold); }

/* New Project */
.dash-new-project-wrap {
  display: flex; flex-direction: column; gap: 2px; max-width: 680px;
}
.dash-new-option {
  display: flex; align-items: flex-start; gap: 24px;
  background: var(--cream); border: 1px solid var(--beige);
  padding: 28px 28px; cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.dash-new-option:hover { border-color: var(--gold); transform: translateX(4px); }
[data-theme="dark"] .dash-new-option { background: #131110; border-color: #1E1B18; }
[data-theme="dark"] .dash-new-option:hover { border-color: var(--gold); }
.dnp-icon {
  font-size: 1.4rem; color: var(--gold); flex-shrink: 0; width: 36px;
  text-align: center; margin-top: 2px;
}
.dnp-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 400;
  color: var(--charcoal); margin-bottom: 6px;
}
[data-theme="dark"] .dnp-title { color: #EDE7DF; }
.dnp-desc { font-size: 0.83rem; color: var(--text-muted); line-height: 1.7; font-weight: 300; margin-bottom: 12px; }
.dnp-cta { font-size: 0.75rem; color: var(--gold); letter-spacing: 0.08em; }

/* Logout */
.dash-logout-btn {
  background: transparent; border: 1px solid var(--sand); color: var(--text-muted);
  font-family: 'DM Sans', sans-serif; font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px; cursor: none;
  transition: var(--transition-fast);
}
.dash-logout-btn:hover { border-color: var(--charcoal); color: var(--charcoal); }
[data-theme="dark"] .dash-logout-btn:hover { border-color: #EDE7DF; color: #EDE7DF; }

@media (max-width: 900px) {
  .account-auth-wrap { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .dash-stats-row { grid-template-columns: 1fr 1fr; }
  .dash-grid-2 { grid-template-columns: 1fr; }
  .dash-sidebar { width: 180px; }
  .dash-main { padding: 28px 20px; }
  .dash-messages-wrap { max-height: 70vh; }
}
@media (max-width: 640px) {
  .dash-sidebar { display: none; }
  .dash-main { padding: 20px 16px; }
  .dash-stats-row { grid-template-columns: 1fr 1fr; }
}

/* ── SIDEBAR LOGOUT ───────────────────────────────────── */
.dash-sidebar-logout {
  display: block;
  width: 100%;
  margin-top: 12px;
  background: transparent;
  border: 1px solid var(--sand);
  color: var(--text-light);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 0;
  border-radius: 2px;
  cursor: none;
  transition: var(--transition-fast);
  text-align: center;
}
.dash-sidebar-logout:hover { border-color: var(--charcoal); color: var(--charcoal); }
[data-theme="dark"] .dash-sidebar-logout { border-color: #2A2725; color: #4A4240; }
[data-theme="dark"] .dash-sidebar-logout:hover { border-color: #EDE7DF; color: #EDE7DF; }

/* ── FILE ROW ACTIONS ─────────────────────────────────── */
.dash-file-row { cursor: pointer; }
.dash-file-row:hover { background: var(--sand); }
[data-theme="dark"] .dash-file-row:hover { background: #1A1714; }
.dash-file-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.dash-file-preview-btn {
  background: transparent;
  border: 1px solid var(--sand);
  color: var(--text-muted);
  padding: 6px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  cursor: none;
  border-radius: 2px;
  transition: var(--transition-fast);
  white-space: nowrap;
}
.dash-file-preview-btn:hover { border-color: var(--gold); color: var(--gold); }
[data-theme="dark"] .dash-file-preview-btn { border-color: #2A2725; color: #6A6260; }

/* ── FILE PREVIEW MODAL ───────────────────────────────── */
.file-preview-overlay {
  position: fixed; inset: 0; z-index: 4000;
  background: rgba(13,11,9,0.72);
  backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.file-preview-overlay.active { opacity: 1; pointer-events: auto; }

.file-preview-panel {
  background: var(--cream);
  width: 620px; max-width: 92vw;
  max-height: 88vh;
  display: flex; flex-direction: column;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 32px 100px rgba(0,0,0,0.32);
  transform: translateY(16px);
  transition: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}
.file-preview-overlay.active .file-preview-panel { transform: translateY(0); }
[data-theme="dark"] .file-preview-panel { background: #131110; }

.fpm-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--beige);
  flex-shrink: 0;
}
[data-theme="dark"] .fpm-header { border-bottom-color: #1E1B18; }
.fpm-title-row { display: flex; align-items: center; gap: 14px; }
.fpm-icon {
  width: 42px; height: 42px;
  background: var(--ivory); border: 1px solid var(--beige);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--text-muted); flex-shrink: 0; border-radius: 2px;
}
.fpm-icon.fpm-icon-fig { border-color: var(--gold); color: var(--gold); background: rgba(196,168,130,0.08); }
[data-theme="dark"] .fpm-icon { background: #1A1714; border-color: #2A2725; }
.fpm-name { font-size: 0.92rem; font-weight: 500; color: var(--charcoal); margin-bottom: 3px; }
[data-theme="dark"] .fpm-name { color: #EDE7DF; }
.fpm-meta { font-size: 0.72rem; color: var(--text-light); }
.fpm-close {
  background: transparent; border: none; font-size: 1rem;
  color: var(--text-light); cursor: none; padding: 4px;
  transition: color 0.2s ease;
}
.fpm-close:hover { color: var(--charcoal); }
[data-theme="dark"] .fpm-close:hover { color: #EDE7DF; }

.fpm-body {
  flex: 1; overflow-y: auto; padding: 24px;
  scrollbar-width: thin; scrollbar-color: var(--sand) transparent;
}
[data-theme="dark"] .fpm-body { background: #131110; }

.fpm-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--beige);
  flex-shrink: 0;
  display: flex; justify-content: flex-end;
}
[data-theme="dark"] .fpm-footer { border-top-color: #1E1B18; }
.fpm-dl-btn {
  background: var(--charcoal); color: var(--cream);
  border: none; padding: 11px 24px;
  font-family: 'DM Sans', sans-serif; font-size: 0.76rem;
  letter-spacing: 0.1em; cursor: none; border-radius: 2px;
  transition: background 0.2s ease;
}
.fpm-dl-btn:hover { background: var(--deep); color: var(--gold); }

/* Figma preview */
.fpm-fig-preview { display: flex; flex-direction: column; gap: 18px; }
.fpm-fig-header { margin-bottom: 4px; }
.fpm-fig-title { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; color: var(--charcoal); margin-bottom: 4px; }
[data-theme="dark"] .fpm-fig-title { color: #EDE7DF; }
.fpm-fig-subtitle { font-size: 0.8rem; color: var(--text-muted); }
.fpm-fig-frames { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fpm-fig-frame-label { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 8px; }
.fpm-fig-mock {
  height: 110px; border-radius: 2px; padding: 14px;
  border: 1px solid rgba(0,0,0,0.06);
}
.fpm-fig-note { font-size: 0.78rem; color: var(--text-light); line-height: 1.7; padding: 12px; border: 1px solid var(--beige); border-radius: 2px; }
[data-theme="dark"] .fpm-fig-note { border-color: #1E1B18; color: #4A4240; }

/* ZIP preview */
.fpm-zip-preview { font-family: 'DM Sans', monospace; }
.fpm-zip-header { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-light); margin-bottom: 14px; }
.fpm-zip-tree { background: var(--ivory); border: 1px solid var(--beige); padding: 16px 18px; border-radius: 2px; margin-bottom: 12px; }
[data-theme="dark"] .fpm-zip-tree { background: #0E0C0A; border-color: #1A1714; }
.fpm-zip-folder { font-size: 0.84rem; color: var(--charcoal); margin-bottom: 6px; font-weight: 500; }
[data-theme="dark"] .fpm-zip-folder { color: #C8BEB5; }
.fpm-zip-item { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; padding-left: 4px; }
[data-theme="dark"] .fpm-zip-item { color: #6A6260; }
.fpm-zip-meta { font-size: 0.72rem; color: var(--text-light); }

/* PDF preview */
.fpm-pdf-preview {}
.fpm-pdf-page {
  background: white; border: 1px solid var(--beige); padding: 28px 28px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
[data-theme="dark"] .fpm-pdf-page { background: #1A1714; border-color: #2A2725; }
.fpm-pdf-header-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px; border-bottom: 1px solid var(--beige); margin-bottom: 18px;
}
[data-theme="dark"] .fpm-pdf-header-bar { border-bottom-color: #2A2725; }
.fpm-pdf-section-title {
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 8px;
}
.fpm-pdf-body-text { font-size: 0.83rem; color: var(--text-muted); line-height: 1.8; font-weight: 300; }
[data-theme="dark"] .fpm-pdf-body-text { color: #6A6260; }
.fpm-pdf-line {
  display: flex; justify-content: space-between;
  padding: 7px 0; border-bottom: 1px solid var(--beige);
  font-size: 0.82rem; color: var(--text-muted);
}
[data-theme="dark"] .fpm-pdf-line { border-bottom-color: #2A2725; color: #6A6260; }
.fpm-pdf-line.total { font-weight: 600; color: var(--charcoal); border-bottom: none; }
[data-theme="dark"] .fpm-pdf-line.total { color: #EDE7DF; }

/* ── PROJECT UPDATES ──────────────────────────────────── */
.dash-updates-wrap { display: flex; flex-direction: column; gap: 0; }
.dash-update-feed { display: flex; flex-direction: column; gap: 0; }
.dash-update-entry {
  padding: 24px 0; border-bottom: 1px solid var(--beige);
  transition: var(--transition-fast);
}
.dash-update-entry:last-child { border-bottom: none; }
[data-theme="dark"] .dash-update-entry { border-bottom-color: #1E1B18; }
.dash-update-entry-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap;
}
.dash-update-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--beige); display: inline-block;
}
.dash-update-dot.active-dot { background: var(--gold); }
.dash-update-dot.done-dot {
  background: #3DB56D; color: white; font-size: 0.5rem;
  display: flex; align-items: center; justify-content: center; width: 14px; height: 14px;
}
.dash-update-title {
  font-size: 0.88rem; font-weight: 500; color: var(--charcoal); flex: 1;
}
[data-theme="dark"] .dash-update-title { color: #C8BEB5; }
.dash-update-ts { font-size: 0.7rem; color: var(--text-light); }
.dash-update-body {
  font-size: 0.85rem; color: var(--text-muted); line-height: 1.75;
  padding-left: 18px; font-weight: 300;
}
[data-theme="dark"] .dash-update-body { color: #6A6260; }
.dash-updates-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; margin-top: 8px; gap: 16px; flex-wrap: wrap;
}
.dash-updates-footer-text { font-size: 0.74rem; color: var(--text-light); font-style: italic; }
.dash-updates-contact-btn {
  background: transparent; border: 1px solid var(--sand);
  color: var(--text-muted); font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.08em; padding: 8px 18px;
  cursor: none; transition: var(--transition-fast); border-radius: 2px;
}
.dash-updates-contact-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ── DASHBOARD CONTACT ────────────────────────────────── */
.dash-contact-wrap { display: flex; flex-direction: column; gap: 24px; }
.dash-contact-notice {
  display: flex; gap: 14px; align-items: flex-start;
  background: #FEF9F0; border: 1px solid var(--gold);
  padding: 18px 22px; font-size: 0.84rem; color: var(--charcoal); line-height: 1.75;
}
[data-theme="dark"] .dash-contact-notice { background: #1A1510; border-color: #6B5230; color: #C8BEB5; }
.dcn-icon { color: var(--gold); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.dash-contact-notice strong { color: var(--charcoal); }
[data-theme="dark"] .dash-contact-notice strong { color: #EDE7DF; }
.dash-contact-form { display: flex; flex-direction: column; gap: 16px; margin-top: 4px; }
.dash-contact-field { display: flex; flex-direction: column; gap: 7px; }
.dash-contact-label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.dash-contact-input {
  background: var(--ivory); border: 1px solid var(--beige);
  padding: 14px 18px; font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem; color: var(--charcoal); outline: none;
  transition: var(--transition-fast); border-radius: 2px; width: 100%;
}
[data-theme="dark"] .dash-contact-input { background: #1A1714; border-color: #2A2725; color: #EDE7DF; }
.dash-contact-input:focus { border-color: var(--gold); }
.dash-contact-textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.dash-contact-actions {
  display: flex; align-items: center; gap: 18px; margin-top: 6px; flex-wrap: wrap;
}
.dash-contact-hint {
  font-size: 0.73rem; color: var(--text-light); font-style: italic;
}
.dash-contact-alt {
  display: flex; align-items: center; gap: 12px;
  padding-top: 4px; font-size: 0.82rem;
}
.dash-contact-alt-label { color: var(--text-light); }
.dash-contact-alt-email { color: var(--gold); text-decoration: none; font-weight: 500; }
.dash-contact-alt-email:hover { text-decoration: underline; }

/* ── DASHBOARD EMPTY STATE ────────────────────────────── */
.dash-empty-state {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  padding: 80px 40px; gap: 18px;
}
.dash-empty-icon {
  font-size: 2.5rem; color: var(--beige); line-height: 1; margin-bottom: 8px;
}
.dash-empty-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 300; color: var(--charcoal);
}
[data-theme="dark"] .dash-empty-title { color: #C8BEB5; }
.dash-empty-sub {
  font-size: 0.88rem; color: var(--text-muted); line-height: 1.75;
  max-width: 420px; font-weight: 300;
}
.dash-empty-state .btn-primary { margin-top: 8px; }

/* ── LIVE CLIENT SITES (portfolio page) ───────────────── */
.live-sites-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; max-width: 1200px; margin: 0 auto;
}
.live-site-card {
  display: block; text-decoration: none; color: inherit;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}
.live-site-card:hover { transform: translateY(-10px); }
.lsc-browser {
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  background: #1a1a1a;
}
.lsc-chrome {
  display: flex; align-items: center; gap: 10px;
  background: #2a2a2a; padding: 10px 16px;
}
.lsc-dots { display: flex; gap: 6px; }
.lsc-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #444;
}
.lsc-dots span:nth-child(1) { background: #FF5F57; }
.lsc-dots span:nth-child(2) { background: #FEBC2E; }
.lsc-dots span:nth-child(3) { background: #28C840; }
.lsc-url {
  flex: 1; background: #1a1a1a; border-radius: 4px;
  padding: 4px 12px; font-size: 0.7rem; color: #888;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lsc-open {
  color: #666; font-size: 0.85rem;
  transition: color 0.2s;
}
.live-site-card:hover .lsc-open { color: var(--gold); }
.lsc-screen {
  width: 100%; aspect-ratio: 16/10;
  overflow: hidden; position: relative;
  background: #111;
}
.lsc-slideshow {
  position: absolute; inset: 0;
}
.lsc-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: top center;
  opacity: 0; transition: opacity 0.8s ease;
  image-rendering: -webkit-optimize-contrast;
}
.lsc-slide.ss-active { opacity: 1; }
.lsc-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 4px 0;
}
.lsc-info { display: flex; flex-direction: column; gap: 4px; }
.lsc-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 500; color: #EDE7DF;
}
.lsc-type { font-size: 0.7rem; color: #888; letter-spacing: 0.12em; text-transform: uppercase; }
.lsc-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid #333; display: flex; align-items: center; justify-content: center;
  color: #888; font-size: 1rem;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.live-site-card:hover .lsc-arrow {
  border-color: var(--gold); color: var(--gold);
}

/* ── REAL PORTFOLIO CARDS (services page) ─────────────── */
.real-portfolio-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; max-width: 1100px; margin: 0 auto;
}
.rp-card {
  position: relative; border-radius: 8px; overflow: hidden;
  cursor: pointer; transition: transform 0.4s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  text-decoration: none; display: block;
}
.rp-card:hover { transform: translateY(-8px); }
.rp-img-wrap {
  height: 220px; overflow: hidden; position: relative;
}
.rp-img-inner {
  display: flex; flex-direction: column;
  animation: lscScroll linear infinite;
}
.rp-img {
  width: 100%; display: block; flex-shrink: 0;
}
.rp-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 20px;
}
.rp-card:hover .rp-overlay { opacity: 1; }
.rp-meta { padding: 16px 18px; background: var(--ivory); }
[data-theme="dark"] .rp-meta { background: #1a1714; }
.rp-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 500; color: var(--charcoal);
  display: block; margin-bottom: 2px;
}
[data-theme="dark"] .rp-name { color: #EDE7DF; }
.rp-type { font-size: 0.68rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }
.rp-link {
  font-size: 0.72rem; color: var(--gold);
  text-decoration: none; font-weight: 500;
}

/* ── REAL WORK STRIP (websites page) ──────────────────── */
.real-work-strip {
  padding: 100px 60px; background: #111;
}
.rws-header { max-width: 1100px; margin: 0 auto 60px; }
.rws-eyebrow {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 16px;
}
.rws-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 300;
  color: #EDE7DF; line-height: 1.15; margin: 0;
}
.rws-title em { color: var(--gold); font-style: italic; }
.real-work-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; max-width: 1100px; margin: 0 auto;
}
.real-work-card {
  cursor: pointer; border-radius: 12px; overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  background: #1a1a1a;
}
.real-work-card:hover { transform: translateY(-10px); box-shadow: 0 32px 80px rgba(0,0,0,0.8); }
/* browser chrome frame */
.rwc-browser { border-radius: 12px 12px 0 0; overflow: hidden; }
.rwc-chrome {
  display: flex; align-items: center; gap: 10px;
  background: #2a2a2a; padding: 10px 14px;
}
.rwc-dots { display: flex; gap: 5px; }
.rwc-dots span { width: 9px; height: 9px; border-radius: 50%; }
.rwc-dots span:nth-child(1) { background: #FF5F57; }
.rwc-dots span:nth-child(2) { background: #FEBC2E; }
.rwc-dots span:nth-child(3) { background: #28C840; }
.rwc-url-bar {
  flex: 1; background: #1a1a1a; border-radius: 4px;
  padding: 4px 10px; font-size: 0.65rem; color: #777;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rwc-screen {
  width: 100%; aspect-ratio: 16/10;
  overflow: hidden; position: relative;
  background: #111;
}
.rwc-slideshow {
  position: absolute; inset: 0;
}
.rwc-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: top center;
  opacity: 0; transition: opacity 0.8s ease;
  image-rendering: -webkit-optimize-contrast;
}
.rwc-slide.ss-active { opacity: 1; }
/* card footer */
.rwc-info {
  background: #1e1e1e; padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.rwc-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 500; color: #EDE7DF;
  display: block; margin-bottom: 3px;
}
.rwc-type { font-size: 0.62rem; color: #888; letter-spacing: 0.1em; text-transform: uppercase; display: block; }
.rwc-arrow {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid #333; display: flex; align-items: center; justify-content: center;
  color: #888; font-size: 0.9rem; flex-shrink: 0;
  transition: border-color 0.3s, color 0.3s;
}
.real-work-card:hover .rwc-arrow { border-color: var(--gold); color: var(--gold); }
.btn-outline-light {
  background: transparent; border: 1px solid rgba(237,231,223,0.3);
  color: #EDE7DF; font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem; letter-spacing: 0.1em; padding: 14px 32px;
  cursor: none; transition: var(--transition-fast); border-radius: 2px;
}
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }

@media (max-width: 900px) {
  .live-sites-grid, .real-portfolio-row, .real-work-cards {
    grid-template-columns: 1fr; max-width: 500px; margin: 0 auto;
  }
  .real-work-strip { padding: 80px 24px; }
}

/* ── FIX: static img sizing for rp single-image cards ── */
.rp-img-wrap { height: 220px; overflow: hidden; }
.rp-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.rp-card:hover .rp-img { transform: scale(1.04); }

/* ── LIVE SITES BAND (shared across pages) ────────────── */
.live-sites-band {
  padding: 100px 60px;
  background: var(--cream);
}
[data-theme="dark"] .live-sites-band { background: #131210; }
.live-sites-band-dark {
  background: #111 !important;
}
[data-theme="dark"] .live-sites-band-dark { background: #0a0a0a !important; }
.lsb-header {
  max-width: 1100px; margin: 0 auto 60px;
}
.lsb-eyebrow {
  display: block; font-size: 0.68rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.lsb-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 300;
  color: var(--charcoal); line-height: 1.15; margin: 0;
}
[data-theme="dark"] .lsb-title { color: #EDE7DF; }
.live-sites-band-dark .lsb-title { color: #EDE7DF; }
.lsb-title em { color: var(--gold); font-style: italic; }
.live-sites-band .live-sites-grid { max-width: 1100px; margin: 0 auto; }

@media (max-width: 900px) {
  .live-sites-band { padding: 80px 24px; }
}
