/*
Theme Name: Growth Engine — Cui Law Group
Theme URI: https://app.growth.previewapps.org
Author: Growth Engine
Author URI: https://app.growth.previewapps.org
Description: Cui Law Group brand variant of the Growth Engine theme. Faithfully reproduces the cui-law.vercel.app navigation, footer, blog list, and article-page chrome so a reverse-proxied WordPress blog (mounted at /blog/*) is visually indistinguishable from the rest of the cui-law site. Adds a sticky right-side sidebar (auto-built table of contents + Free Consultation card) on single posts.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: MIT
License URI: https://opensource.org/licenses/MIT
Text Domain: growth-engine-cuilaw
Tags: blog, one-column, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =============================================================================
   Cui Law Group — Design tokens
   ----------------------------------------------------------------------------
   1:1 with cui-law/app/globals.css :root block. Do NOT diverge — the whole
   point of this variant is to be visually identical to the rest of the site.
   ========================================================================== */

:root {
  --charcoal: #1a2744;
  --charcoal-light: #253453;
  --taupe: #c4972a;
  --taupe-light: #d4a73a;
  --taupe-dark: #b08824;
  --taupe-muted: rgba(196, 151, 42, 0.1);
  --warm-gold: #c4972a;
  --cream: #ffffff;
  --warm-white: #f5f6f8;
  --text-primary: #1a2744;
  --text-secondary: #4a4a4a;
  --text-light: #888888;
  --border: #e0e0e0;
  --border-light: #f0f0f0;
  --serif: 'Playfair Display', 'Noto Serif SC', Georgia, serif;
  --sans: 'Noto Sans SC', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'DM Sans', sans-serif;
}

/* =============================================================================
   Reset (minimal)
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

body {
  font-family: var(--sans);
  color: var(--text-primary);
  background: var(--cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--taupe); color: #fff; }

:focus-visible {
  outline: 2px solid var(--taupe);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--charcoal);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  font-size: 0.85rem;
  z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* =============================================================================
   Multilingual visibility — cui-law `[data-lang]` pattern
   ----------------------------------------------------------------------------
   Every multilingual UI string is rendered as three sibling spans:
     <span class="lang-cn">中文</span>
     <span class="lang-en">English</span>
     <span class="lang-vi">Tiếng Việt</span>
   The active language is set on <html data-lang="..."> by PHP at first
   paint (server reads cookie + Accept-Language) and toggled by JS on
   click. `!important` because some host themes / Yoast injected styles
   sometimes try to override `display`.
   ========================================================================== */
.lang-vi { display: none; } /* default-hidden when no `data-lang` is set */
[data-lang="cn"] .lang-en, [data-lang="cn"] .lang-vi { display: none !important; }
[data-lang="en"] .lang-cn, [data-lang="en"] .lang-vi { display: none !important; }
[data-lang="vi"] .lang-cn, [data-lang="vi"] .lang-en { display: none !important; }
[data-lang="cn"] .lang-cn,
[data-lang="en"] .lang-en,
[data-lang="vi"] .lang-vi { display: inline; }

/* Language switcher inside .nav-right and .mobile-nav-footer */
.lang-switch {
	display: inline-flex;
	border: 1px solid var(--border);
	border-radius: 6px;
	overflow: hidden;
	flex-shrink: 0;
}
.lang-switch button {
	background: none;
	border: none;
	padding: 5px 12px;
	font-size: 0.72rem;
	cursor: pointer;
	color: var(--text-light);
	font-family: var(--sans);
	letter-spacing: 0.5px;
	transition: all 0.2s;
}
.lang-switch button.active {
	background: var(--taupe);
	color: #fff;
}
.lang-switch button:not(.active):hover {
	background: var(--warm-white);
}
@media (max-width: 960px) {
	nav.site-nav .nav-right > .lang-switch { display: none; } /* mobile uses drawer's switch */
}

/* =============================================================================
   Navigation — cui-law replica (no language switch per spec)
   ========================================================================== */
nav.site-nav {
  background: #ffffff;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
}
nav.site-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 24px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex-shrink: 1;
}
.logo-group img { max-height: 40px; width: auto; flex-shrink: 0; }
.logo-cn {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.logo-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
}
.logo-en {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--taupe); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-intake-cta {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: var(--charcoal);
  padding: 7px 14px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.nav-intake-cta:hover { background: var(--charcoal-light); }

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-weight: 600;
  color: var(--charcoal);
  font-size: 0.92rem;
  background: var(--taupe-muted);
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.nav-phone .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4a7c59;
  display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: 0.3 } }

.nav-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 8px;
  cursor: pointer;
  color: var(--charcoal);
}

/* Mobile nav drawer */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 39, 68, 0.5);
  z-index: 99;
}
.mobile-nav-overlay.is-open { display: block; }

.mobile-nav-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(320px, 85vw);
  background: #fff;
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-nav-drawer.is-open { transform: translateX(0); }
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-close {
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--charcoal);
  padding: 4px;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 14px 22px;
  gap: 4px;
  flex: 1;
}
.mobile-nav-links a {
  padding: 12px 8px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav-links a:hover { color: var(--taupe); }
.mobile-nav-footer {
  padding: 18px 22px;
  border-top: 1px solid var(--border);
}

@media (max-width: 960px) {
  .nav-links, .nav-intake-cta, .nav-phone { display: none; }
  .nav-hamburger { display: inline-block; }
}

/* =============================================================================
   Shared section labels (cui-law pattern)
   ========================================================================== */
.section-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 12px;
  font-family: var(--mono);
}
.section-heading {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.4;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.85;
  font-weight: 300;
}
.section-center { text-align: center; }
.section-center .section-sub { margin: 0 auto; }

/* =============================================================================
   Buttons
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--taupe);
  color: #fff;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}
.btn-primary:hover {
  background: var(--taupe-light);
  transform: translateY(-1px);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text-secondary);
  padding: 14px 26px;
  border-radius: 4px;
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--border);
  transition: all 0.25s;
}
.btn-outline:hover {
  border-color: var(--taupe);
  color: var(--charcoal);
}

/* =============================================================================
   Blog list — mirrors cui-law `.blog-section` + `.blog-topics-grid`
   ========================================================================== */
.blog-section { padding: 56px 0 72px; }

.blog-topics { margin-bottom: 48px; }
.blog-topics-heading {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 24px;
}
.blog-topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
@media (max-width: 720px) {
  .blog-topics-grid { grid-template-columns: 1fr; gap: 18px; }
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: var(--taupe);
  box-shadow: 0 6px 24px rgba(26, 39, 68, 0.06);
  transform: translateY(-2px);
}
.blog-card a.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.blog-card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--warm-white);
  overflow: hidden;
}
.blog-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-thumb img { transform: scale(1.03); }

.blog-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}
.blog-card-meta .pill {
  background: var(--taupe-muted);
  color: var(--taupe-dark);
  padding: 3px 9px;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.blog-card-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.4;
}
.blog-card-excerpt {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 300;
}

/* Pagination — cui-law style */
.ge-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 56px 0 0;
  list-style: none;
  padding: 0;
}
.ge-pagination .page-numbers {
  display: inline-block;
  padding: 9px 14px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--mono);
  background: #fff;
  transition: all 0.2s;
}
.ge-pagination .page-numbers:hover {
  border-color: var(--taupe);
  color: var(--taupe);
}
.ge-pagination .current {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
}

/* =============================================================================
   Single article page — cui-law `.article` + sticky right sidebar
   ========================================================================== */
.article-grid {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 780px) 280px;
  gap: 56px;
  align-items: start;
}
@media (max-width: 1024px) {
  .article-grid { grid-template-columns: 1fr; gap: 0; max-width: 780px; }
}

.article {
  width: 100%;
  margin: 0 auto;
  padding: 56px 0 72px;
}
.article-breadcrumb {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 32px;
}
.article-breadcrumb a {
  color: var(--taupe);
  text-decoration: none;
}
.article-breadcrumb a:hover { text-decoration: underline; }
.article-breadcrumb .sep { margin: 0 6px; color: var(--text-light); opacity: 0.6; }

.article-header {
  margin-bottom: 44px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.article-header h1 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: 16px;
}
.article-header .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}
.article-header .article-meta > span + span::before {
  content: "·";
  margin-right: 14px;
  opacity: 0.5;
}

.article-feature {
  margin: 0 0 36px;
  border-radius: 12px;
  overflow: hidden;
}
.article-feature img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

/* article-body covers BOTH the WP-editor-authored body AND the
 * Growth-Engine-published .ge-article block. The publish_renderer ships
 * its own scoped <style>.ge-article{...}</style>; here we provide the
 * fallback typography for plain WP posts so they read identically. */
.article-body {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-secondary);
  font-weight: 300;
}
.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--charcoal);
}
.article-body h1 { font-size: 1.6rem; margin: 44px 0 18px; line-height: 1.3; }
.article-body h2 { font-size: 1.4rem; margin: 44px 0 16px; line-height: 1.35; }
.article-body h3 { font-size: 1.15rem; margin: 32px 0 12px; }
.article-body h4 { font-size: 1rem; margin: 24px 0 10px; }
.article-body h2:first-child,
.article-body h1:first-child { margin-top: 0; }

.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 14px 0 22px 24px; }
.article-body li { margin-bottom: 6px; }
.article-body strong { font-weight: 500; color: var(--charcoal); }
.article-body em { font-style: italic; }
.article-body a {
  color: var(--taupe);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-body a:hover { color: var(--charcoal); }
.article-body blockquote {
  margin: 22px 0;
  padding: 14px 20px;
  border-left: 3px solid var(--taupe);
  background: var(--warm-white);
  color: var(--text-secondary);
  font-style: italic;
}
.article-body blockquote p { margin: 0; }
.article-body code {
  font-family: ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", Menlo, monospace;
  font-size: 0.88em;
  padding: 2px 6px;
  background: rgba(26, 39, 68, 0.05);
  border-radius: 4px;
}
.article-body pre {
  background: rgba(26, 39, 68, 0.04);
  padding: 1em 1.15em;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.9em;
}
.article-body pre code { background: transparent; padding: 0; }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.92em;
}
.article-body th, .article-body td {
  text-align: left;
  padding: 0.55em 0.7em;
  border-bottom: 1px solid var(--border-light);
}
.article-body th { font-weight: 600; color: var(--charcoal); }

/* Author box at end of article */
.article-author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--warm-white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  margin: 44px 0;
}
.article-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--taupe-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  color: var(--taupe-dark);
  font-family: var(--serif);
  font-weight: 600;
}
.article-author-name {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 3px;
}
.article-author-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.6;
}

/* "Back to blog" link */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
}
.article-back:hover { color: var(--taupe); }

/* =============================================================================
   Right-side sticky sidebar (TOC + CTA card) — our addition over cui-law
   ========================================================================== */
.article-aside {
  position: sticky;
  top: 96px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
  font-size: 0.85rem;
  padding-top: 56px;
}
@media (max-width: 1024px) {
  .article-aside { display: none; }
}

.toc { margin: 0 0 32px; }
.toc-label {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--taupe);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.toc-list { list-style: none; margin: 0; padding: 0; }
.toc-list li { margin: 0; }
.toc-list a {
  display: block;
  padding: 7px 0 7px 14px;
  color: var(--text-light);
  text-decoration: none;
  line-height: 1.45;
  font-size: 0.84rem;
  border-left: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.toc-list a:hover { color: var(--charcoal); }
.toc-list a.is-active {
  color: var(--charcoal);
  border-left-color: var(--taupe);
  font-weight: 500;
}
.toc-list .toc-h3 a {
  padding-left: 28px;
  font-size: 0.8rem;
  opacity: 0.85;
}

.side-cta {
  background: var(--warm-white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 22px 22px 20px;
}
.side-cta-eyebrow {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--taupe);
  margin: 0 0 8px;
}
.side-cta-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 6px;
  line-height: 1.35;
}
.side-cta-blurb {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0 0 14px;
  line-height: 1.65;
  font-weight: 300;
}
.side-cta-btn {
  display: block;
  width: 100%;
  padding: 11px 14px;
  background: var(--taupe);
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.side-cta-btn:hover { background: var(--taupe-light); color: #fff; }
.side-cta-call {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
}
.side-cta-call:hover { color: var(--taupe); }

/* =============================================================================
   404 + search
   ========================================================================== */
.center-404 { text-align: center; padding: 120px 24px; }
.center-404 .num {
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--taupe-muted);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.center-404 .msg { color: var(--text-secondary); margin-bottom: 28px; }

.ge-search {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}
.ge-search input[type="search"] {
  flex: 1;
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  font-size: 0.95rem;
  font-family: var(--sans);
}
.ge-search input[type="search"]:focus {
  outline: none;
  border-color: var(--taupe);
}

/* =============================================================================
   Footer — cui-law replica
   ========================================================================== */
.footer-dark {
  background: var(--charcoal);
  color: #fff;
  padding: 56px 0 28px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 38px;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

.footer-brand .logo-cn {
  color: #fff;
  margin-bottom: 12px;
  display: block;
}
.footer-brand p {
  font-size: 0.84rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  margin-bottom: 12px;
}
.footer-brand strong { color: rgba(255, 255, 255, 0.9); font-weight: 500; }

.footer-grid h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe-light);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-grid a {
  display: block;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  margin-bottom: 9px;
  transition: color 0.2s;
}
.footer-grid a:hover { color: var(--taupe-light); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.65); text-decoration: none; }
.footer-bottom a:hover { color: var(--taupe-light); }

/* =============================================================================
   Reduce motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
