/*
 * Styles for the generated blog pages. Copied to /blog/blog.css by generate-blog.js.
 * Built on the site's own Tailwind values (slate-600/70 nav bar, slate-800 headings,
 * blue-600 and brand blue #0057ff accents, Merriweather, 8px radius, pill buttons) so
 * the blog sits naturally beside the rest of firmtitletb.com.
 */
:root {
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --brand: #0057ff;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 18px 40px -12px rgba(15, 23, 42, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--slate-200); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Merriweather, serif;
  background: var(--slate-50);
  color: var(--slate-700);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: #fff; color: var(--slate-800); padding: 8px 16px; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }

/* ---------- Navbar (matches the site's Navbar.tsx) ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.nav-bar { display: flex; align-items: center; justify-content: space-between; padding: 16px; background: rgba(71, 85, 105, 0.7); }
.nav-desktop { display: none; gap: 32px; }
.nav-link { color: #fff; font-weight: 500; transition: color 0.15s; }
.nav-link:hover { color: rgba(255, 255, 255, 0.8); }
.nav-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.nav-mobile { display: flex; align-items: center; }
.menu-button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 6px; color: #fff; }
.menu-button:hover { background: rgba(255, 255, 255, 0.1); }
.menu-button svg { width: 20px; height: 20px; }
.nav-brand { margin-left: 8px; color: #fff; font-weight: 700; font-size: 1.125rem; }
.nav-social { display: flex; gap: 12px; }
.nav-social a { color: #fff; transition: color 0.15s; }
.nav-social a:hover { color: rgba(255, 255, 255, 0.8); }
.nav-social svg { width: 20px; height: 20px; }
@media (min-width: 768px) {
  .nav-mobile { display: none; }
  .nav-desktop { display: flex; }
  .nav-social { gap: 24px; }
  .nav-social svg { width: 24px; height: 24px; }
}

.drawer-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, 0.8); animation: fade-in 0.2s ease-out; }
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 70;
  width: 250px; display: flex; flex-direction: column; gap: 4px;
  background: rgba(71, 85, 105, 0.7); color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-lg);
  animation: slide-in 0.3s ease-out;
}
.drawer-link { padding: 16px 32px; color: #fff; transition: background 0.15s; }
.drawer-link:hover, .drawer-link[aria-current="page"] { background: rgba(51, 65, 85, 0.7); }
.drawer-link[aria-current="page"] { font-weight: 500; }
.drawer-close { position: absolute; top: 16px; right: 16px; color: #fff; opacity: 0.7; }
.drawer-close:hover { opacity: 1; }
.drawer-close svg { width: 16px; height: 16px; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(-100%); } }

/* Logo square, placed like the homepage hero's (Hero.tsx) */
.hero-logo { position: absolute; top: 80px; right: 0.75rem; z-index: 40; width: 64px; pointer-events: none; }
@media (min-width: 768px) { .hero-logo { right: 2rem; width: 112px; } }

/* ---------- Hero (site photography with a dark overlay, like the homepage) ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--slate-900) var(--hero-image) center 30% / cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.72) 45%, rgba(15, 23, 42, 0.35) 100%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0) 50%);
}
.hero-inner { width: 100%; max-width: 1152px; margin: 0 auto; padding: 132px 24px 56px; }
.hero-inner-narrow { max-width: 880px; }
.hero h1 { font-weight: 900; color: #fff; letter-spacing: -0.01em; text-wrap: balance; }
.hero-index { min-height: 460px; }
.hero-index h1 { max-width: 720px; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.12; margin-bottom: 18px; }
.hero-lede { max-width: 600px; font-size: 1.0625rem; line-height: 1.7; color: rgba(255, 255, 255, 0.82); }
.hero-post { min-height: 420px; }
.hero-post .hero-inner { padding-bottom: 112px; }
.hero-post h1 { font-size: clamp(1.75rem, 4.2vw, 2.75rem); line-height: 1.2; margin-bottom: 18px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 0.875rem; color: rgba(255, 255, 255, 0.8); }
.hero-meta time, .hero-meta span { white-space: nowrap; }
.hero-chip {
  display: inline-block; margin-bottom: 16px; padding: 5px 12px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9999px; backdrop-filter: blur(6px);
}
.back-link { display: flex; width: max-content; align-items: center; gap: 6px; margin-bottom: 24px; font-size: 0.875rem; color: rgba(255, 255, 255, 0.8); transition: color 0.15s, gap 0.2s var(--ease); }
.back-link:hover { color: #fff; gap: 10px; }
.back-link svg { width: 16px; height: 16px; }

.eyebrow { margin-bottom: 14px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-600); }
.eyebrow-light { color: #93c5fd; }
.eyebrow-light::before { content: ""; display: inline-block; width: 28px; height: 2px; margin-right: 12px; vertical-align: middle; background: var(--brand); }

/* ---------- Blog index ---------- */
.blog-section { width: 100%; max-width: 1152px; margin: 0 auto; padding: 40px 24px 72px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  font-size: 0.8125rem; border-radius: 9999px; background: #fff; color: var(--slate-700);
  border: 1px solid var(--slate-200); box-shadow: var(--shadow-sm);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.chip span { font-size: 0.6875rem; padding: 1px 7px; border-radius: 9999px; background: var(--slate-100); color: var(--slate-500); }
.chip:hover { border-color: var(--blue-600); color: var(--blue-600); }
.chip[aria-pressed="true"] { background: var(--slate-800); border-color: var(--slate-800); color: #fff; }
.chip[aria-pressed="true"] span { background: rgba(255, 255, 255, 0.15); color: #fff; }
.search { position: relative; display: block; flex: 0 1 280px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--slate-400); pointer-events: none; }
.search input {
  width: 100%; height: 42px; padding: 8px 16px 8px 40px;
  font: inherit; font-size: 0.875rem; color: var(--slate-800);
  background: #fff; border: 1px solid var(--slate-200); border-radius: 9999px; box-shadow: var(--shadow-sm);
}
.search input::placeholder { color: var(--slate-400); }
.search input:focus { outline: 2px solid var(--blue-600); outline-offset: 1px; }
.empty { padding: 32px; margin-bottom: 24px; text-align: center; color: var(--slate-500); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.link-button { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* Cards */
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.card-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-600); }
.badge { padding: 3px 9px; border-radius: 9999px; background: var(--brand); color: #fff; letter-spacing: 0.08em; }
.card-title { font-size: 1.0625rem; line-height: 1.45; font-weight: 700; color: var(--slate-800); text-wrap: pretty; transition: color 0.15s; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card is the link */
.card:hover .card-title { color: var(--blue-600); }
.card-excerpt {
  margin: 10px 0 20px; font-size: 0.875rem; line-height: 1.7; color: var(--slate-500); overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-title + .card-footer { margin-top: 18px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--slate-100); }
.meta { display: inline-flex; flex-wrap: wrap; gap: 6px; font-size: 0.75rem; color: var(--slate-500); }
.read-more { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; font-size: 0.8125rem; font-weight: 700; color: var(--brand); transition: gap 0.2s var(--ease); }
.read-more svg { width: 14px; height: 14px; }
.card:hover .read-more { gap: 10px; }

.card-grid { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card-featured { border-left: 4px solid var(--blue-600); }
.card-featured .card-body { padding: 28px; }
.card-featured .card-title { font-size: clamp(1.375rem, 2.6vw, 1.875rem); line-height: 1.3; }
.card-featured .card-excerpt { font-size: 0.9375rem; -webkit-line-clamp: 4; }
@media (min-width: 860px) {
  .card-featured { flex-direction: row; min-height: 340px; }
  .card-featured .cover { flex: 0 0 48%; aspect-ratio: auto; }
  .card-featured .card-body { padding: 40px 44px; justify-content: center; }
  .card-featured .card-footer { margin-top: 8px; }
}

/* Covers: post image, or branded artwork built from the post */
.cover {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  aspect-ratio: 16 / 10; padding: 22px 24px; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  isolation: isolate;
}
/* Fine grid texture */
.cover::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.6;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(200deg, #000 10%, transparent 75%);
  mask-image: linear-gradient(200deg, #000 10%, transparent 75%);
}
/* Open square from the FIRM TITLE logo */
.cover::after {
  content: ""; position: absolute; top: 20px; right: 20px; z-index: -1;
  width: 64px; height: 64px; border: 2px solid rgba(255, 255, 255, 0.35);
  -webkit-mask-image: linear-gradient(225deg, #000 60%, transparent 60%);
  mask-image: linear-gradient(225deg, #000 60%, transparent 60%);
  transition: transform 0.6s var(--ease);
}
.card:hover .cover::after { transform: rotate(90deg); }
.cover-closings { --c1: #0057ff; --c2: #1e3a8a; }
.cover-development { --c1: #334155; --c2: #0f172a; }
.cover-news { --c1: #1d4ed8; --c2: #312e81; }
.cover-tips { --c1: #475569; --c2: #1e293b; }
.cover-custom { --c1: #2563eb; --c2: #0f172a; }
.cover-development, .cover-tips { background-image: radial-gradient(120% 90% at 100% 0%, rgba(0, 87, 255, 0.55), transparent 55%), linear-gradient(135deg, var(--c1), var(--c2)); }
.cover-label { position: absolute; top: 20px; left: 24px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
/* Topic icon in a frosted tile, with a large faint copy behind it for depth */
.cover-icon {
  display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 4px;
  color: #fff; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px; backdrop-filter: blur(4px);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s var(--ease), background 0.3s;
}
.cover-icon svg { width: 28px; height: 28px; stroke-width: 1.75; }
.card:hover .cover-icon { transform: translateY(-3px); background: rgba(255, 255, 255, 0.18); }
.cover-ghost { position: absolute; right: -28px; bottom: -36px; z-index: -1; width: 210px; height: 210px; color: #fff; opacity: 0.07; transition: transform 0.6s var(--ease); }
.cover-ghost svg { width: 100%; height: 100%; stroke-width: 1; }
.card:hover .cover-ghost { transform: rotate(-6deg) scale(1.04); }
.cover-stamp { align-self: flex-start; padding: 3px 10px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; border: 1.5px solid rgba(255, 255, 255, 0.8); border-radius: 4px; transform: rotate(-3deg); }
.cover-price { font-size: clamp(1.75rem, 3.4vw, 2.25rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.cover-sub { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.85); }
.cover-photo { padding: 0; background: var(--slate-200); }
.cover-photo::before, .cover-photo::after { display: none; }
.cover-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .cover-photo img { transform: scale(1.04); }
.card-featured .cover-icon { width: 84px; height: 84px; border-radius: 16px; }
.card-featured .cover-icon svg { width: 40px; height: 40px; }
.card-featured .cover-ghost { width: 340px; height: 340px; right: -50px; bottom: -70px; }
.card-featured .cover-price { font-size: clamp(2.25rem, 5vw, 3.25rem); }
.card-featured .cover { padding: 28px 32px; }
.card-featured .cover-label { left: 32px; top: 28px; }


/* ---------- Post ---------- */
.article-wrap { position: relative; z-index: 2; width: 100%; max-width: 832px; margin: -72px auto 0; padding: 0 16px; }
@media (min-width: 640px) { .article-wrap { padding: 0 24px; } }
.article { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border-top: 4px solid var(--blue-600); overflow: hidden; }

.prose { padding: 32px 24px 8px; font-size: 1rem; line-height: 1.85; color: var(--slate-700); overflow-wrap: anywhere; }
@media (min-width: 768px) { .prose { padding: 52px 64px 12px; font-size: 1.0625rem; } }
.prose > * { margin-bottom: 1.2em; }
.prose > p:first-child { font-size: 1.15em; line-height: 1.7; color: var(--slate-800); }
.prose h2 { font-size: 1.4rem; line-height: 1.35; font-weight: 700; color: var(--slate-800); margin: 1.8em 0 0.6em; }
.prose h3 { font-size: 1.15rem; font-weight: 700; color: var(--slate-800); margin: 1.5em 0 0.5em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--blue-600); }
.prose a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { color: var(--slate-800); }
.prose .hashtags { font-size: 0.875rem; line-height: 1.9; color: var(--blue-600); word-spacing: 0.3em; }

.listing {
  position: relative; padding: 24px 26px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-50), #fff 70%); border: 1px solid var(--blue-100);
}
.listing p { margin: 0; }
.prose > .listing:first-child { margin-top: 4px; }
.listing-label { display: inline-block; margin-bottom: 8px !important; padding: 2px 10px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; background: var(--brand); border-radius: 4px; }
.listing-price { font-size: clamp(1.75rem, 5vw, 2.25rem); font-weight: 900; line-height: 1.2; letter-spacing: -0.02em; color: var(--slate-800); }
.listing-address { margin-top: 4px !important; font-size: 0.9375rem; color: var(--slate-600); }
.listing-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.listing-facts li { margin: 0; padding: 4px 12px; font-size: 0.8125rem; color: var(--slate-700); background: #fff; border: 1px solid var(--slate-200); border-radius: 9999px; }

.article-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin: 24px 24px 0; padding: 24px 0 28px; border-top: 1px solid var(--slate-200); }
@media (min-width: 768px) { .article-footer { margin: 24px 64px 0; padding-bottom: 36px; } }
.about { display: flex; align-items: center; gap: 14px; max-width: 420px; }
.about img { flex-shrink: 0; width: 56px; height: 56px; border-radius: var(--radius); object-fit: cover; }
.about-name { font-weight: 700; color: var(--slate-800); }
.about-text { font-size: 0.8125rem; line-height: 1.6; color: var(--slate-500); }
.about-text a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.share { display: flex; align-items: center; gap: 8px; }
.share-label { margin-right: 4px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-400); }
.share a, .copy-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; min-width: 38px; padding: 0 10px;
  color: var(--slate-600); background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 9999px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.share a:hover, .copy-link:hover { color: #fff; background: var(--blue-600); border-color: var(--blue-600); }
.share svg { width: 16px; height: 16px; }
.copy-link span { font-size: 0.75rem; }

.pager { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
@media (min-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager-link { display: block; padding: 18px 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); font-size: 0.9375rem; font-weight: 700; line-height: 1.45; color: var(--slate-800); transition: box-shadow 0.25s var(--ease), color 0.15s; }
.pager-link:hover { box-shadow: var(--shadow-md); color: var(--blue-600); }
.pager-link span { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-400); }
.pager-link svg { width: 12px; height: 12px; }
@media (min-width: 640px) { .pager-next span { justify-content: flex-end; } }
@media (min-width: 640px) { .pager-next { text-align: right; } }

.related { padding-top: 64px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.section-heading h2 { font-size: 1.5rem; font-weight: 700; color: var(--slate-800); }
.section-heading a { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 700; color: var(--brand); }
.section-heading svg { width: 14px; height: 14px; }

/* ---------- Call to action band ---------- */
.cta-band {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 140% at 100% 0%, rgba(0, 87, 255, 0.45), transparent 60%), linear-gradient(135deg, var(--slate-800), var(--slate-900));
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; z-index: -1; width: 260px; height: 260px;
  border: 2px solid rgba(255, 255, 255, 0.08);
}
.cta-inner { display: grid; gap: 28px; max-width: 1152px; margin: 0 auto; padding: 64px 24px; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.4fr 1fr; align-items: center; padding: 72px 24px; } }
.cta-band h2 { font-size: clamp(1.625rem, 3.5vw, 2.25rem); font-weight: 900; line-height: 1.2; color: #fff; margin-bottom: 12px; }
.cta-band p:not(.eyebrow) { max-width: 560px; line-height: 1.7; color: rgba(255, 255, 255, 0.75); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-actions { justify-content: flex-end; } }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 9999px; font-weight: 600; transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--blue-700); }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { background: #fff; color: var(--slate-800); }

/* ---------- Footer (matches the site's Footer.tsx) ---------- */
.site-footer { padding: 24px 16px; background: rgba(71, 85, 105, 0.9); color: #fff; text-align: center; }
.site-footer p { margin-bottom: 8px; font-size: 0.875rem; color: var(--gray-200); }
@media (min-width: 768px) { .site-footer p { font-size: 1rem; } }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--gray-300); }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-links span { color: var(--gray-500); }

@media (prefers-reduced-motion: reduce) {
  .card:hover .cover-icon, .card:hover .cover-ghost { transform: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
