/* ==========================================================================
   Clayi — Clean Dark Mode Stylesheet
   Carbon-Gray Brand Palette + Modern Floating Landing Architecture
   ========================================================================== */

:root {
  /* Core Carbon-Gray Dark Surfaces */
  --bg-body: #212121;
  --bg-surface: #292929;
  --bg-surface-hover: #303030;
  --bg-elevated: #2d2d2d;
  --bg-deep: #181818;
  --bg-subfooter: #141414;
  --bg-nav: rgba(35, 35, 35, 0.78);
  --bg-nav-scrolled: rgba(24, 24, 24, 0.92);

  /* Brand Green Accents */
  --brand: #28c76f;
  --brand-dark: #32865a;
  --brand-deep: #0b8043;
  --brand-soft: rgba(40, 199, 111, 0.12);
  --brand-border: rgba(40, 199, 111, 0.42);
  --brand-glow: rgba(40, 199, 111, 0.18);

  /* Status Colors */
  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.14);

  /* Typography */
  --text-heading: #f3f8fb;
  --text-body: #dadada;
  --text-muted: #a5a5a5;
  --text-subtle: #888888;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Borders & Shadows */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.13);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.42);

  /* Radii & Layout */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --container-max: 1180px;
  --nav-height: 68px;
  --transition: 0.22s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-body);
  background-color: var(--bg-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  color: #4be38e;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

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

/* ==========================================================================
   Floating Glassmorphic Navbar (Vuexy-inspired)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 20px 0;
  pointer-events: none;
  transition: padding var(--transition);
}

.site-header.is-scrolled {
  padding-top: 8px;
}

.navbar {
  pointer-events: auto;
  max-width: var(--container-max);
  margin-inline: auto;
  min-height: var(--nav-height);
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled .navbar {
  background: var(--bg-nav-scrolled);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-link img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--text-heading);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a[aria-current="page"] {
  color: var(--brand);
  background: var(--brand-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  background: var(--brand-dark);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.nav-cta:hover {
  background: var(--brand);
  color: #0e1a13;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--brand-glow);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-heading);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile Drawer */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.mobile-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 85vw);
  background: var(--bg-deep);
  border-left: 1px solid var(--border-medium);
  z-index: 1050;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-head img {
  height: 30px;
  width: auto;
}

.mobile-close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
}

.mobile-close:hover {
  color: var(--text-heading);
  background: rgba(255, 255, 255, 0.12);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-weight: 500;
}

.mobile-nav-list a:hover,
.mobile-nav-list a[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand);
}

.mobile-drawer-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 10px;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid rgba(40, 199, 111, 0.24);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--brand-dark);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(50, 134, 90, 0.25);
}

.btn-primary:hover {
  background: var(--brand);
  color: #0e1a13;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px var(--brand-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-heading);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

/* ==========================================================================
   Landing Hero Section (Vuexy rounded bottom + Clayi carbon gradient)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 148px 0 92px;
  background:
    radial-gradient(620px circle at 82% 28%, rgba(40, 199, 111, 0.13), transparent 62%),
    radial-gradient(500px circle at 15% 75%, rgba(50, 134, 90, 0.09), transparent 65%),
    linear-gradient(135deg, #191919 0%, #2a2a2a 55%, #1d1d1d 100%);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0 0 3rem 3rem;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  max-width: 560px;
}

.hero-title {
  margin-top: 20px;
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  background: linear-gradient(95deg, #ffffff 0%, #e4f7ec 55%, var(--brand) 100%);
  background-size: 180% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroShine 5s ease-in-out infinite alternate;
}

@keyframes heroShine {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.hero-subtitle {
  margin-top: 18px;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--text-body);
  line-height: 1.6;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-meta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
}

.hero-stat-label {
  font-size: 12.5px;
  color: var(--text-muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.hero-visual-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-border);
}

.hero-visual-card img {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}

/* Signature Floating Squares Background */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-shapes li {
  position: absolute;
  display: block;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  bottom: -140px;
  animation: floatSquare 24s linear infinite;
}

.hero-shapes li:nth-child(1) { left: 8%; width: 70px; height: 70px; animation-delay: 0s; animation-duration: 22s; }
.hero-shapes li:nth-child(2) { left: 22%; width: 26px; height: 26px; animation-delay: 2s; animation-duration: 16s; }
.hero-shapes li:nth-child(3) { left: 38%; width: 52px; height: 52px; animation-delay: 5s; animation-duration: 26s; }
.hero-shapes li:nth-child(4) { left: 56%; width: 38px; height: 38px; animation-delay: 1s; animation-duration: 19s; }
.hero-shapes li:nth-child(5) { left: 74%; width: 92px; height: 92px; animation-delay: 4s; animation-duration: 28s; }
.hero-shapes li:nth-child(6) { left: 88%; width: 44px; height: 44px; animation-delay: 7s; animation-duration: 20s; }

@keyframes floatSquare {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.7;
  }
  100% {
    transform: translateY(-760px) rotate(420deg);
    opacity: 0;
  }
}

/* ==========================================================================
   Core Pillars Strip
   ========================================================================== */
.pillars-section {
  padding: 52px 0 20px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.pillar-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.pillar-pill:hover {
  transform: translateY(-3px);
  border-color: var(--brand-border);
  background: var(--bg-surface-hover);
}

.pillar-pill img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.pillar-pill span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
}

/* ==========================================================================
   Section Headers & Ecosystem Cards (Vuexy-style Elevated Cards)
   ========================================================================== */
.section-py {
  padding: 76px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-title {
  margin-top: 14px;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.015em;
}

.section-desc {
  margin-top: 14px;
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.75;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-md);
}

.project-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.project-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--bg-body);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.project-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}

.status-live {
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid rgba(40, 199, 111, 0.25);
}

.status-soon {
  background: var(--amber-soft);
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.project-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.project-card h3 a {
  color: inherit;
}

.project-card h3 a:hover {
  color: var(--brand);
}

.project-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.project-card-link {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}

.project-card-link svg {
  transition: transform var(--transition);
}

.project-card:hover .project-card-link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Brand Statement CTA Banner
   ========================================================================== */
.statement-section {
  padding: 12px 0 84px;
}

.statement-card {
  position: relative;
  overflow: hidden;
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(460px circle at 95% 50%, rgba(40, 199, 111, 0.14), transparent 65%),
    var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.statement-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--brand);
}

.statement-eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}

.statement-text {
  font-size: 1.08rem;
  color: var(--text-heading);
  max-width: 680px;
}

/* ==========================================================================
   Inner Subpage Layout (About, Contact, Legal Pages)
   ========================================================================== */
.page-hero {
  padding: 138px 0 48px;
  background:
    radial-gradient(500px circle at 85% 30%, rgba(40, 199, 111, 0.1), transparent 65%),
    linear-gradient(135deg, #1a1a1a 0%, #272727 100%);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0 0 2.25rem 2.25rem;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

.page-meta {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.content-section {
  padding: 48px 0 84px;
}

.prose-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 42px 46px;
  box-shadow: var(--shadow-sm);
}

.prose h2 {
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-top: 34px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-top: 22px;
  margin-bottom: 10px;
}

.prose p {
  margin-bottom: 15px;
  color: var(--text-body);
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong,
.prose b {
  color: var(--text-heading);
  font-weight: 600;
}

.prose ul {
  margin: 12px 0 18px 0;
  padding-left: 20px;
  list-style: disc;
}

.prose li {
  margin-bottom: 8px;
  color: var(--text-body);
}

.prose li::marker {
  color: var(--brand);
}

/* About Feature Grid inside prose */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 24px 0 28px;
}

.about-pillar-card {
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-body);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--transition);
}

.about-pillar-card:hover {
  border-color: var(--brand-border);
}

.about-pillar-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--brand);
}

.about-pillar-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
}

/* Contact Info Card */
.contact-box {
  margin-top: 28px;
  padding: 28px 30px;
  border-radius: var(--radius-md);
  background: var(--bg-body);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-email-label {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contact-email-link {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--brand);
}

.copy-feedback {
  font-size: 13px;
  color: var(--brand);
  margin-left: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.copy-feedback.is-visible {
  opacity: 1;
}

/* ==========================================================================
   Footer (Vuexy Rounded Top + Clayi Deep Carbon)
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  border-radius: 2.5rem 2.5rem 0 0;
  overflow: hidden;
}

.footer-top {
  padding: 52px 0 40px;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-brand {
  max-width: 540px;
}

.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.footer-brand-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  transition: all var(--transition);
}

.social-btn:hover {
  background: var(--brand-soft);
  border-color: var(--brand-border);
  color: var(--brand);
  transform: translateY(-2px);
}

.social-btn.social-yt:hover {
  background: rgba(255, 68, 68, 0.14);
  border-color: rgba(255, 68, 68, 0.45);
  color: #ff5c5c;
}

.footer-bottom {
  background: var(--bg-subfooter);
  border-top: 1px solid var(--border-subtle);
  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.footer-nav a {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  transition: all var(--transition);
}

.footer-nav a:hover {
  color: var(--text-heading);
  border-color: var(--border-medium);
  background: rgba(255, 255, 255, 0.08);
}

.copyright {
  font-size: 13px;
  color: var(--text-subtle);
}

.copyright a {
  color: var(--text-body);
  font-weight: 600;
}

.copyright a:hover {
  color: var(--brand);
}

/* ==========================================================================
   Cookie Consent Banner & Back-to-Top
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 950;
  max-width: 380px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(28, 28, 28, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-body);
}

.cookie-banner a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-accept {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--brand-dark);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  transition: background var(--transition);
}

.cookie-accept:hover {
  background: var(--brand);
  color: #0e1a13;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--brand-dark);
  border-color: var(--brand);
  color: #ffffff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding: 124px 0 64px;
    border-radius: 0 0 2rem 2rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .hero-content {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-meta {
    justify-content: center;
  }

  .statement-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 26px;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .prose-card {
    padding: 26px 22px;
  }

  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-accept {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

