/* Shared site footer. Component markup is rendered by src/components/Footer.astro. */
global-footer { display: block; }
.footer-cta-icon { margin-left: 12px; }

.footer-grid {
                display: grid;
                grid-template-columns: minmax(280px, 1fr) 2fr;
                gap: 4rem;
                align-items: start;
            }
            .footer-nav-sections {
                display: grid;
                grid-template-columns: repeat(3, minmax(0, 1fr));
                gap: 2.5rem;
                align-items: start;
            }
            .footer-nav-section {
                display: flex;
                flex-direction: column;
                justify-content: flex-start;
                align-items: flex-start;
                height: auto;
            }
            .footer-nav-section h4 {
                margin: 0 0 1rem 0;
            }
            .footer-nav {
                display: flex;
                flex-direction: column;
                justify-content: flex-start;
                align-items: flex-start;
                gap: 0.65rem;
                width: 100%;
                margin-top: 0;
            }
            .footer-nav-link {
                color: var(--slake-subtext); 
                font-size: 0.95rem; 
                text-decoration: none; 
                transition: color 180ms ease;
                display: block; 
                margin-bottom: 0.25rem; 
                white-space: normal;
                width: 100%;
                transform: none;
            }
            .footer-nav-link:hover {
                color: var(--slake-blue);
                transform: none;
                border-bottom-color: transparent;
            }
            .footer-bottom a { transition: color 180ms ease; }
            .footer-bottom a:hover { color: var(--slake-blue); }
            .footer-proof-dock {
                margin: 0 0 5.5rem;
                border: 1px solid var(--slake-border);
                background:
                    linear-gradient(135deg, rgba(74, 144, 226, 0.16), transparent 34%),
                    linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(8, 13, 24, 0.9));
                display: grid;
                grid-template-columns: minmax(300px, 1.3fr) repeat(3, minmax(0, 1fr));
                overflow: hidden;
                box-shadow: 0 24px 80px rgba(0,0,0,0.26);
            }
            .light-mode .footer-proof-dock {
                background: #FFFFFF;
                border-color: var(--slake-border);
                box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
            }
            .light-mode .footer-proof-main,
            .light-mode .footer-proof-item {
                border-right-color: var(--slake-border);
            }
            .light-mode .footer-proof-item:hover {
                background: rgba(37, 99, 235, 0.04);
                border-color: var(--slake-blue);
            }
            .footer-proof-main,
            .footer-proof-item {
                padding: clamp(1.15rem, 2vw, 1.65rem);
                border-right: 1px solid var(--slake-border);
                position: relative;
            }
            .footer-proof-item:last-child { border-right: none; }
            .footer-proof-main {
                padding: clamp(1.5rem, 2.4vw, 2rem);
            }
            .footer-proof-label {
                color: var(--slake-blue);
                font-family: 'DM Mono', monospace;
                font-size: 0.66rem;
                font-weight: 800;
                letter-spacing: 0.14em;
                text-transform: uppercase;
                margin-bottom: 0.72rem;
            }
            .footer-proof-main strong,
            .footer-proof-item strong {
                color: var(--slake-text);
                display: block;
                margin-bottom: 0.55rem;
                letter-spacing: -0.01em;
            }
            .footer-proof-main strong {
                font-size: clamp(1.35rem, 2.1vw, 1.8rem);
                line-height: 1.05;
                max-width: 420px;
            }
            .footer-proof-item strong {
                font-size: 1rem;
                line-height: 1.18;
            }
            .footer-proof-main p,
            .footer-proof-item p {
                color: var(--slake-subtext);
                margin: 0;
                font-size: 0.9rem;
                line-height: 1.5;
            }
            .footer-proof-main p {
                max-width: 440px;
                font-size: 0.98rem;
                line-height: 1.58;
            }
            .footer-proof-main::after {
                content: "";
                position: absolute;
                left: clamp(1.5rem, 2.4vw, 2rem);
                right: clamp(1.5rem, 2.4vw, 2rem);
                bottom: 0;
                height: 3px;
                background: var(--slake-blue);
            }
            .footer-proof-item {
                color: inherit;
                text-decoration: none;
                transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
                display: flex;
                flex-direction: column;
                min-height: 178px;
            }
            .footer-proof-item::after {
                content: "->";
                color: var(--slake-blue);
                font-family: 'DM Mono', monospace;
                font-weight: 900;
                margin-top: auto;
                padding-top: 1rem;
            }
            .footer-proof-item:hover {
                background: rgba(74, 144, 226, 0.08);
                border-color: rgba(74, 144, 226, 0.35);
                transform: translateY(-2px);
            }
            .footer-person-card { display: flex; gap: 1rem; align-items: flex-start; }
            .footer-person-avatar { width: 52px; height: 52px; border: 1px solid var(--slake-border); flex-shrink: 0; }
            .footer-person-name { color: var(--slake-text); display: block; font-size: 0.95rem; margin-bottom: 0.35rem; }
            .footer-person-desc { color: var(--slake-subtext); font-size: 0.85rem; line-height: 1.55; margin: 0; }
            .footer-person-links { margin-top: 0.85rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; font-family: 'DM Mono', monospace; font-size: 0.78rem; }
            .footer-person-link.email { color: var(--slake-blue); text-decoration: none; }
            .footer-person-link.cta { color: var(--slake-text); text-decoration: none; font-weight: 800; }
            
            @media (max-width: 900px) {
                .footer-grid, .footer-brand, .footer-nav-sections, .footer-nav-section, .footer-nav, .footer-bottom {
                    display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%;
                }
                .footer-bottom > div {
                    display: flex; flex-direction: row; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem; width: auto;
                }
                .footer-logo { justify-content: center; text-align: center; width: 100%; }
                .footer-tagline { text-align: center; width: 100%; margin-left: auto; margin-right: auto; }
                .footer-person-card, .footer-person-bio, .footer-person-links {
                    display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%;
                }
                .footer-person-links { gap: 0.65rem; margin-top: 1rem; }
                .footer-person-link.cta { display: inline-flex; padding: 0.6rem 1.2rem; border: 1px solid var(--slake-border); background: rgba(255, 255, 255, 0.03); font-size: 0.75rem; }
                .footer-nav-link { text-align: center; }
                .footer-proof-dock { grid-template-columns: 1fr; margin-bottom: 3rem; width: 100%; box-sizing: border-box; text-align: center; }
                .footer-proof-main, .footer-proof-item { border-right: none; border-bottom: 1px solid var(--slake-border); width: 100%; box-sizing: border-box; text-align: center; align-items: center; }
                .footer-proof-item { min-height: auto; }
                .footer-proof-item:last-child { border-bottom: none; }
            }

            .theme-toggle {
                background: rgba(255, 255, 255, 0.02);
                border: 1px solid var(--slake-border);
                color: var(--slake-text);
                width: 36px;
                height: 36px;
                border-radius: 50%;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
                box-sizing: border-box;
                backdrop-filter: blur(8px);
                -webkit-backdrop-filter: blur(8px);
                padding: 0;
            }
            .theme-toggle:hover {
                background: rgba(var(--slake-blue-rgb), 0.1);
                border-color: var(--slake-blue);
                color: var(--slake-blue);
                transform: translateY(-1px);
            }
            .theme-toggle svg {
                width: 16px;
                height: 16px;
                stroke-width: 2;
                fill: none;
                stroke: currentColor;
                transition: transform 0.25s ease;
            }

.footer {
  background: var(--slake-bg);
  border-top: 1px solid var(--slake-border);
  width: 100%;
  display: block;
}

.footer-cta-container {
  width: 100%;
  text-align: center;
  padding: 5rem 1.5rem;
  border-bottom: 1px solid var(--slake-border);
  margin-bottom: 4rem;
}

.btn-footer-cta {
  background: var(--slake-text);
  color: var(--slake-bg);
  font-weight: 950;
  border-radius: 0;
  padding: 1.5rem 3rem;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.05em;
}

.btn-footer-cta:hover {
  background: var(--slake-blue);
  color: #fff;
  box-shadow: 0 0 32px var(--slake-blue);
}

.footer-cta-container h2 {
  color: var(--slake-text);
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 2rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.footer-cta-action {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
}

.footer-container--without-cta { padding-top: 5rem; }

.footer-brand {
  background: var(--slake-panel);
  border: 1px solid var(--slake-border);
  padding: 1.75rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.footer-logo {
  display: flex;
  align-items: center;
  color: var(--slake-text);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.footer-logo svg { margin-right: 12px; }
.footer-tagline { color: var(--slake-subtext); font-family: 'DM Mono', monospace; font-size: 0.7rem; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.footer-about-person { border-top: 1px solid var(--slake-border); padding-top: 1.25rem; }
.footer-nav-section h4 { color: var(--slake-blue); font-family: 'DM Mono', monospace; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; margin: 0 0 1.25rem; }
.footer-bottom { border-top: 1px solid var(--slake-border); padding-top: 2rem; margin-top: 4.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-bottom p { color: var(--slake-subtext); font-size: 0.82rem; font-family: 'DM Mono', monospace; margin: 0; }
.footer-bottom-links, .footer-social-links { display: flex; align-items: center; gap: 1.25rem; font-family: 'DM Mono', monospace; font-size: 0.8rem; }
.footer-bottom a { color: var(--slake-subtext); text-decoration: none; transition: color 180ms ease; }
.footer-bottom a:hover { color: var(--slake-blue); }
.footer-bottom-separator { color: var(--slake-border); }
.footer-social-links { font-size: 0.82rem; }
.footer-social-links .theme-toggle { margin-left: 0.5rem; }

@media (max-width: 900px) {
  .footer-container { padding-inline: 1.5rem; }
}
