/*
© 2026 RP Creation AI. All rights reserved.
*/

/* This group stores the shared colors, sizes, and fonts. */
:root {
    --color-background: #f6fbfb;
    --color-background-soft: #edf7f7;
    --color-surface: rgba(255, 255, 255, 0.28);
    --color-surface-strong: rgba(255, 255, 255, 0.38);
    /* This keeps shared card backgrounds soft and neutral. */
    --color-tile-background: rgba(255, 255, 255, 0.28);
    --color-tile-text: #000000;
    --color-border: rgba(10, 10, 10, 0.1);
    --color-text: #111111;
    --color-text-soft: #334345;
    --color-heading: #0a0a0a;
    --color-accent: #2f9da6;
    --color-accent-dark: #1c6d74;
    --color-accent-soft: #dff0f1;
    --color-footer-bg: #102426;
    --color-footer-surface: rgba(168, 213, 216, 0.14);
    --color-footer-border: rgba(168, 213, 216, 0.22);
    --color-footer-text: rgba(235, 252, 254, 0.78);
    --color-footer-heading: #f4feff;
    --shadow-soft: 0 24px 60px rgba(17, 31, 33, 0.08);
    --shadow-card-hover: 0 28px 70px rgba(17, 31, 33, 0.14);
    --shadow-panel: 0 18px 42px rgba(37, 90, 78, 0.12);
    --shadow-panel-strong: 0 20px 50px rgba(37, 90, 78, 0.16);
    --radius-card: 24px;
    --radius-pill: 999px;
    --container-width: 1120px;
    --font-body: "Inter", sans-serif;
    --font-heading: "Playfair Display", serif;
    --color-hero-start: #2fa4ab;
    --color-hero-end: #3fbac2;
    --color-hero-glow: rgba(255, 255, 255, 0.24);
    --surface-blur: 16px;
    --page-shell-space: 1rem;
}

/* This gives every page the same safe starting rules. */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: var(--font-body);
    color: var(--color-text);
    background:
        radial-gradient(circle at top left, rgba(63, 186, 194, 0.1), transparent 30%),
        linear-gradient(180deg, #fbfefe 0%, var(--color-background) 100%);
    line-height: 1.7;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* This group holds simple layout helpers used in many places. */
.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.container {
    width: min(calc(100% - 2rem), var(--container-width));
    margin: 0 auto;
}

.container-wide {
    width: min(calc(100% - 2rem), 1240px);
    margin: 0 auto;
}

.section-space {
    padding: 4.5rem 0;
}

.section-muted {
    background: var(--color-background-soft);
    border-top: 1px solid rgba(7, 88, 98, 0.1);
    border-bottom: 1px solid rgba(7, 88, 98, 0.1);
}

.stack-lg,
.narrow-stack {
    display: grid;
    gap: 1.5rem;
}

.narrow-stack {
    max-width: 760px;
}

/* This group styles headings and text so the site feels consistent. */
h1,
h2,
h3 {
    margin: 0;
    color: var(--color-heading);
    font-family: var(--font-heading);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.2rem;
}

p,
li {
    margin: 0;
    color: var(--color-text-soft);
    font-size: 1rem;
}

.lead-text,
.hero-subtitle {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    color: var(--color-text);
    max-width: 60ch;
}

.eyebrow,
.project-label,
.info-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--color-accent);
}

.eyebrow::before,
.project-label::before {
    content: "";
    width: 1.25rem;
    height: 1px;
    background: currentColor;
}

/* This group styles the top bar and its links for big and small screens. */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 0.9rem 0 0;
    background: linear-gradient(180deg, rgba(246, 251, 251, 0.92) 0%, rgba(246, 251, 251, 0.35) 72%, transparent 100%);
}

.header-inner,
.footer-inner,
.page-empty-panel-card,
.legal-panel {
    position: relative;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.44);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.42), transparent 34%),
        linear-gradient(135deg, rgba(127, 191, 174, 0.82) 0%, rgba(139, 198, 179, 0.68) 48%, rgba(169, 221, 205, 0.56) 100%);
    backdrop-filter: blur(22px);
    box-shadow: 0 20px 50px rgba(37, 90, 78, 0.16);
    overflow: hidden;
}

.header-inner::before,
.footer-inner::before,
.page-empty-panel-card::before,
.legal-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.16));
    pointer-events: none;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: 4.75rem;
    padding: 0.8rem 1rem 0.8rem 1.15rem;
    overflow: visible;
}

.brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.brand-mark {
    width: 2.8rem;
    height: 2.8rem;
    display: inline-grid;
    place-items: center;
    padding: 0.2rem;
    overflow: hidden;
    border-radius: 18px;
    background: transparent;
    color: #102426;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 24px rgba(16, 36, 38, 0.12);
}

.brand-mark-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transform: scale(2.8);
    transform-origin: center;
}

.brand-mark-image-portrait {
    object-fit: cover;
    object-position: center top;
    transform: none;
}

.brand-text-group {
    display: grid;
    gap: 0.12rem;
}

.brand-name {
    color: #102426;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-size: 1.28rem;
}

.brand-meta {
    color: rgba(16, 36, 38, 0.72);
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
}

.header-actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-left: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1rem;
    border-radius: var(--radius-pill);
    color: rgba(16, 36, 38, 0.88);
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: visible;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: #102426;
    background: rgba(255, 255, 255, 0.42);
    box-shadow: 0 10px 18px rgba(16, 36, 38, 0.08);
    transform: translateY(-1px);
    outline: none;
}

.site-nav a[aria-current="page"] {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(16, 36, 38, 0.84) 0%, rgba(28, 109, 116, 0.82) 100%);
    box-shadow: 0 10px 24px rgba(16, 36, 38, 0.18);
}

body:not([data-page="home"]) .site-nav a[aria-current="page"] {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.58), 0 14px 28px rgba(16, 36, 38, 0.18);
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 22%;
    right: 22%;
    bottom: 0.58rem;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
    transform: scaleX(1);
    opacity: 1;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.82rem 1.28rem;
    border-radius: var(--radius-pill);
    background: #102426;
    color: #f4fffc;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 14px 28px rgba(16, 36, 38, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
    background: #153437;
    color: #ffffff;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 18px 30px rgba(16, 36, 38, 0.22);
    outline: none;
}

.header-cta[aria-current="page"] {
    background: linear-gradient(135deg, #1a4d52 0%, #0f2d30 100%);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55), 0 18px 30px rgba(16, 36, 38, 0.22);
}

/* heart inside header CTA */
.header-cta .heart {
    display: inline-block;
    margin-left: 0.5rem;
    color: #e11d48; /* rich red */
    font-size: 1.7em;
    line-height: 1;
    transform-origin: center;
    transition: transform 160ms ease, opacity 160ms ease;
}

.header-cta:hover .heart,
.header-cta:focus-visible .heart {
    transform: scale(1.12) translateY(-1px);
    opacity: 0.98;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.28rem;
    width: 3.1rem;
    height: 3.1rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.nav-toggle-line {
    width: 1.2rem;
    height: 2px;
    margin: 0 auto;
    background: #102426;
    border-radius: 999px;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.3);
    outline: none;
}

.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;
}

/*
    Primary content blocks define the visual rhythm of the site.
*/
.hero-grid,
.content-grid,
.detail-grid,
.footer-grid {
    display: grid;
    gap: 1.5rem;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.9fr);
    align-items: center;
}

.hero-copy,
.section-heading {
    display: grid;
    gap: 1.2rem;
}

.home-layout {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
    align-items: start;
}

.home-main-column,
.home-section-stack,
.home-side-rail {
    display: grid;
    gap: 1.5rem;
}

/* Ensure all panels use the same "trust and ownership" surface color for consistency */
.home-hero-card,
.home-section-card,
.side-panel,
.mini-panel,
.info-card,
.feature-card,
.content-card,
.project-card,
.support-card,
.support-chip,
.landing-panel,
.landing-info-card,
.landing-feature-card,
.landing-metric-card,
.landing-panel-muted {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    padding: 1.5rem;
}

.hero-summary-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.25rem;
}

.mini-panel {
    display: grid;
    gap: 0.55rem;
    padding: 1rem;
    background: var(--color-tile-background);
    border: 1px solid var(--color-border);
    border-radius: 20px;
}

.home-heading-compact h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.home-list-grid,
.home-principles-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--color-accent-dark);
}

.side-panel {
    display: grid;
    gap: 0.9rem;
}

.trust-panel {
    background: var(--color-surface);
}

.trust-lines {
    display: grid;
    gap: 0.85rem;
}

.trust-lines p {
    padding-left: 1rem;
    border-left: 2px solid rgba(7, 88, 98, 0.24);
    color: var(--color-heading);
}

.panel-list {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding-left: 1.15rem;
    color: var(--color-text-soft);
}

.hero-description {
    max-width: 62ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.6rem;
}

.feature-grid,
.content-grid,
.detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-panel {
    display: grid;
    gap: 1rem;
}

.info-card,
.feature-card,
.content-card,
.project-card {
    background: var(--color-tile-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
}

.info-card,
.feature-card,
.content-card {
    padding: 1.5rem;
}

.info-value,
.footer-title {
    color: var(--color-heading);
    font-weight: 700;
}

.feature-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.content-card,
.content-card-large {
    display: grid;
    gap: 0.9rem;
}

.page-intro {
    padding-bottom: 2rem;
}

.content-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.8fr);
    align-items: start;
}

.project-card {
    padding: 2rem;
    display: grid;
    gap: 1.5rem;
}

.project-card-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

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

.future-project-card {
    background: var(--color-tile-background);
}

.bullet-list {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.6rem;
}

/*
    Reusable link and button styles support clear calls to action.
*/
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    padding: 0.85rem 1.3rem;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 16px 30px rgba(17, 31, 33, 0.12);
    outline: none;
}

.button-primary {
    background: #0a0a0a;
    border-color: #0a0a0a;
    color: #ffffff;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.36);
    color: #0a0a0a;
    backdrop-filter: blur(12px);
}

.support-chip-btn {
    background: #ffffff;
    border-color: rgba(7, 88, 98, 0.18);
    color: var(--color-accent-dark);
}

.button-primary:hover,
.button-primary:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
    transform: translateY(-1px);
    outline: none;
}

.support-chip-btn:hover,
.support-chip-btn:focus-visible {
    background: var(--color-accent-soft);
    border-color: var(--color-accent);
    color: var(--color-accent-dark);
    transform: translateY(-1px);
    outline: none;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-soft);
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--color-accent-dark);
    font-weight: 700;
}

.breadcrumb strong {
    color: var(--color-heading);
}

.support-main {
    align-items: flex-start;
}

.support-shell-panel {
    min-height: auto;
    padding: clamp(1.2rem, 3vw, 1.8rem);
}

.support-layout {
    display: grid;
    gap: 1.5rem;
}

.support-card,
.support-menu-card {
    display: grid;
    gap: 1.5rem;
    padding: clamp(1.2rem, 3vw, 1.6rem);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(238, 252, 246, 0.28) 100%);
    box-shadow: var(--shadow-panel);
    backdrop-filter: blur(var(--surface-blur));
    overflow: hidden;
    position: relative;
}

.support-menu-card::before {
    background: linear-gradient(90deg, #84cc16, #f59e0b, #fb7185);
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.support-card-header {
    display: grid;
    gap: 0.9rem;
}

.support-card-header-split {
    align-items: start;
    gap: 1rem 2rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.support-card-header-copy {
    display: grid;
    gap: 0.9rem;
}

.support-share-widget {
    display: grid;
    gap: 0.65rem;
    justify-items: end;
    min-width: 48px;
}

.support-share-label {
    color: rgba(16, 36, 38, 0.84);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.support-share-stack {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 0.9rem;
}

.support-share-toggle {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.support-share-toggle svg {
    transition: transform 0.2s ease;
}

.support-share-toggle[aria-expanded="true"] {
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.3);
    transform: scale(1.08);
}

.support-share-toggle[aria-expanded="true"] svg {
    transform: rotate(18deg);
}

.support-share-options {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: repeat(5, minmax(0, auto));
    gap: 0.75rem;
    justify-items: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px) scale(0.94);
    transition: opacity 0.24s ease, transform 0.24s ease, filter 0.24s ease;
    filter: saturate(0.88);
}

.support-share-widget.is-open .support-share-options {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
    filter: saturate(1);
}

.support-share-link {
    text-decoration: none;
}

.support-share-status {
    margin: 0;
    max-width: 13rem;
    min-height: 1.4rem;
    color: rgba(16, 36, 38, 0.78);
    font-size: 0.84rem;
    line-height: 1.45;
    text-align: right;
}

.support-menu-card h1 {
    font-size: 2.5rem;
    line-height: 1.15;
    margin: 0;
}

.support-menu-card h2 {
    font-size: 2.1rem;
    line-height: 1.15;
    margin: 0;
}

.support-title {
    align-items: center;
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0.7rem;
    font-family: "Great Vibes", "Playfair Display", serif;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.support-title-image {
    display: inline-block;
    height: 70px;
    object-fit: contain;
    vertical-align: middle;
    width: auto;
}

.support-lead {
    max-width: none;
    white-space: nowrap;
}

.support-quick-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0;
}

.support-chip {
    align-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(255, 250, 250, 0.92) 100%);
    border: 1px solid rgba(251, 113, 133, 0.12);
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
    color: #0f172a;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    justify-content: center;
    min-height: 16rem;
    padding: 1.2rem 1rem;
    text-align: center;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.support-chip::before {
    content: "";
    position: absolute;
    inset: -24%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 25% 30%, rgba(123, 255, 115, 0.28), transparent 34%),
        radial-gradient(circle at 74% 28%, rgba(83, 247, 255, 0.24), transparent 36%),
        radial-gradient(circle at 68% 76%, rgba(255, 111, 216, 0.22), transparent 32%),
        radial-gradient(circle at 28% 78%, rgba(255, 210, 92, 0.24), transparent 34%);
    opacity: 0;
    filter: blur(14px);
    transform: scale(0.92) rotate(0deg);
    transform-origin: center;
    pointer-events: none;
    z-index: 0;
    animation: support-aurora-swirl 5.8s linear infinite;
    animation-play-state: paused;
}

.support-chip::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.2s ease;
}

.support-chip:hover,
.support-chip:focus-within {
    border-color: #fda4af;
    box-shadow: 0 11px 22px rgba(190, 18, 60, 0.17);
    transform: translateY(-2px);
}

.support-chip:hover::before,
.support-chip:hover::after,
.support-chip:focus-within::before,
.support-chip:focus-within::after {
    opacity: 1;
}

.support-chip:hover::before,
.support-chip:focus-within::before {
    animation-play-state: running;
}

.home-hero-card,
.home-section-card,
.side-panel,
.mini-panel,
.info-card,
.feature-card,
.content-card,
.project-card,
.support-card,
.support-chip {
    color: var(--color-tile-text);
}

.home-hero-card h1,
.home-hero-card h2,
.home-hero-card h3,
.home-section-card h1,
.home-section-card h2,
.home-section-card h3,
.side-panel h1,
.side-panel h2,
.side-panel h3,
.mini-panel h1,
.mini-panel h2,
.mini-panel h3,
.info-card h1,
.info-card h2,
.info-card h3,
.feature-card h1,
.feature-card h2,
.feature-card h3,
.content-card h1,
.content-card h2,
.content-card h3,
.project-card h1,
.project-card h2,
.project-card h3,
.support-card h1,
.support-card h2,
.support-card h3,
.support-menu-card h1,
.support-menu-card h2,
.support-menu-card h3,
.support-chip h1,
.support-chip h2,
.support-chip h3,
.home-hero-card p,
.home-section-card p,
.side-panel p,
.mini-panel p,
.info-card p,
.feature-card p,
.content-card p,
.project-card p,
.support-card p,
.support-menu-card p,
.support-chip p,
.home-hero-card li,
.home-section-card li,
.side-panel li,
.mini-panel li,
.info-card li,
.feature-card li,
.content-card li,
.project-card li,
.support-card li,
.support-chip li,
.home-hero-card .eyebrow,
.home-section-card .eyebrow,
.side-panel .panel-kicker,
.mini-panel .info-label,
.project-card .project-label,
.support-card .text-link,
.support-menu-card .text-link,
.content-card .text-link,
.support-chip .support-chip-amount {
    color: var(--color-tile-text);
}

.support-chip > * {
    position: relative;
    z-index: 1;
}

.support-chip-icon {
    align-items: center;
    background: #fff1f2;
    border: 2px solid #fecdd3;
    border-radius: 50%;
    display: flex;
    height: 5rem;
    justify-content: center;
    width: 5rem;
}

.support-chip-glyph {
    font-size: 3.25rem;
    line-height: 1;
    transform: translateY(-1px);
}

.support-chip-btn {
    align-self: stretch;
    align-items: center;
    background: linear-gradient(135deg, #fb7185, #be123c);
    box-shadow: 0 4px 10px rgba(190, 18, 60, 0.18);
    color: #ffffff;
    display: inline-flex;
    font-size: 1.1rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1.2;
    min-height: 3.8rem;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.support-chip-btn:hover,
.support-chip-btn:focus-visible {
    background: linear-gradient(135deg, #fb7185, #9f1239);
    box-shadow: 0 11px 22px rgba(190, 18, 60, 0.3);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.support-chip-amount {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.2;
}

.support-chip:nth-child(1) .support-chip-icon {
    background: #ecfdf5;
    border-color: #86efac;
}

.support-chip:nth-child(1) .support-chip-btn {
    background: linear-gradient(135deg, #65a30d, #3f6212);
    box-shadow: 0 4px 10px rgba(77, 124, 15, 0.2);
}

.support-chip:nth-child(1) .support-chip-btn:hover,
.support-chip:nth-child(1) .support-chip-btn:focus-visible {
    background: linear-gradient(135deg, #84cc16, #365314);
    box-shadow: 0 11px 22px rgba(77, 124, 15, 0.36);
}

.support-chip:nth-child(2) .support-chip-icon {
    background: #fef3c7;
    border-color: #fcd34d;
}

.support-chip:nth-child(2) .support-chip-btn {
    background: linear-gradient(135deg, #a16207, #713f12);
    box-shadow: 0 4px 10px rgba(113, 63, 18, 0.22);
}

.support-chip:nth-child(2) .support-chip-btn:hover,
.support-chip:nth-child(2) .support-chip-btn:focus-visible {
    background: linear-gradient(135deg, #b45309, #78350f);
    box-shadow: 0 11px 22px rgba(120, 53, 15, 0.39);
}

.support-chip:nth-child(3) .support-chip-icon {
    background: #fef7ed;
    border-color: #fdba74;
}

.support-chip:nth-child(3) .support-chip-btn {
    background: linear-gradient(135deg, #c2410c, #9a3412);
    box-shadow: 0 4px 10px rgba(154, 52, 18, 0.22);
}

.support-chip:nth-child(3) .support-chip-btn:hover,
.support-chip:nth-child(3) .support-chip-btn:focus-visible {
    background: linear-gradient(135deg, #ea580c, #9a3412);
    box-shadow: 0 11px 22px rgba(154, 52, 18, 0.39);
}

.support-chip:nth-child(4) .support-chip-icon {
    background: #fff7ed;
    border-color: #fdba74;
}

.support-chip:nth-child(4) .support-chip-btn {
    background: linear-gradient(135deg, #d97706, #b45309);
    box-shadow: 0 4px 10px rgba(180, 83, 9, 0.22);
}

.support-chip:nth-child(4) .support-chip-btn:hover,
.support-chip:nth-child(4) .support-chip-btn:focus-visible {
    background: linear-gradient(135deg, #f59e0b, #b45309);
    box-shadow: 0 11px 22px rgba(180, 83, 9, 0.39);
}

.support-chip:nth-child(5) .support-chip-icon {
    background: #fff1f2;
    border-color: #fda4af;
}

.support-chip:nth-child(5) .support-chip-btn {
    background: linear-gradient(135deg, #e11d48, #9f1239);
    box-shadow: 0 4px 10px rgba(159, 18, 57, 0.22);
}

.support-chip:nth-child(5) .support-chip-btn:hover,
.support-chip:nth-child(5) .support-chip-btn:focus-visible {
    background: linear-gradient(135deg, #fb7185, #be123c);
    box-shadow: 0 11px 22px rgba(190, 18, 60, 0.39);
}

@keyframes support-aurora-swirl {
    0% {
        transform: scale(0.92) rotate(0deg);
    }

    50% {
        transform: scale(1.02) rotate(180deg);
    }

    100% {
        transform: scale(0.92) rotate(360deg);
    }
}

.divider {
    width: 100%;
    height: 1px;
    margin: 0;
    border: 0;
    background: rgba(7, 88, 98, 0.12);
}

.support-ownership-note {
    color: var(--color-heading);
    font-weight: 600;
}

.support-panel-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-panel {
    min-height: 100%;
}

@media (max-width: 900px) {
    .support-quick-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .support-lead {
        white-space: normal;
    }

    .support-card-header-split {
        grid-template-columns: 1fr;
    }

    .support-share-widget,
    .support-share-stack {
        justify-items: start;
    }

    .support-share-status {
        max-width: none;
        text-align: left;
    }
}

@media (max-width: 560px) {
    .support-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.back-icon-btn {
    width: 3.2rem;
    height: 3.2rem;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-surface-strong);
    color: var(--color-heading);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.back-icon-btn svg {
    width: 1.2rem;
    height: 1.2rem;
}

.back-icon-btn:hover,
.back-icon-btn:focus-visible {
    background: var(--color-accent-soft);
    border-color: rgba(7, 88, 98, 0.24);
    transform: translateY(-1px);
    outline: none;
}

.text-link {
    color: var(--color-accent-dark);
    font-weight: 700;
}

.text-link:hover,
.text-link:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.info-card a:hover,
.info-card a:focus-visible {
    color: var(--color-accent);
    outline: none;
}

.page-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.34rem 0.7rem;
    border-radius: 999px;
    background: rgba(16, 36, 38, 0.08);
    color: rgba(16, 36, 38, 0.86);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-status-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 1rem;
}

.page-next-link,
.legal-update-note {
    color: rgba(16, 36, 38, 0.76);
    font-size: 0.95rem;
    line-height: 1.65;
}

.legal-update-note {
    font-weight: 700;
}

/* This group styles the middle panel and the footer shell. */
.page-shell-main {
    flex: 1;
    display: flex;
    padding: var(--page-shell-space) 0;
}

.page-empty-panel {
    flex: 1;
    display: flex;
}

.page-empty-panel .container {
    display: flex;
}

.page-empty-panel-card {
    flex: 1;
    min-height: clamp(18rem, 54vh, 38rem);
}

.projects-main {
    align-items: flex-start;
}

.projects-shell-panel {
    min-height: auto;
    padding: clamp(1.2rem, 3vw, 1.8rem);
}

.projects-page-intro {
    gap: 0.65rem;
    max-width: 60rem;
    margin-bottom: 1.2rem;
}

.projects-page-intro h1 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.12;
}

.projects-page-intro p:not(.page-kicker) {
    color: rgba(16, 36, 38, 0.88);
    max-width: 64ch;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.projects-shell-panel > .page-next-link {
    margin-top: 1rem;
}

.projects-entry-card {
    display: grid;
    align-content: start;
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(var(--surface-blur));
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.projects-entry-card::after {
    content: "";
    position: absolute;
    inset: -22%;
    border-radius: inherit;
    background: conic-gradient(from 0deg, rgba(123, 255, 115, 0.4), rgba(83, 247, 255, 0.38), rgba(122, 162, 255, 0.34), rgba(255, 111, 216, 0.42), rgba(255, 210, 92, 0.36), rgba(123, 255, 115, 0.4));
    opacity: 0;
    filter: blur(30px);
    pointer-events: none;
    z-index: 0;
    animation: projects-neon-ring 4.2s linear infinite reverse;
    animation-play-state: paused;
}

.projects-entry-card:hover,
.projects-entry-card:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(37, 90, 78, 0.18);
}

.projects-entry-card:hover::after,
.projects-entry-card:focus-within::after {
    opacity: 0.92;
    animation-play-state: running;
}

.projects-entry-card > * {
    position: relative;
    z-index: 2;
}

.projects-entry-card h2 {
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    line-height: 1.12;
}

.projects-micro-context {
    color: rgba(16, 36, 38, 0.72);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.projects-entry-card p,
.projects-entry-card .project-label {
    color: rgba(16, 36, 38, 0.88);
}

.projects-entry-card .button-primary {
    background: rgba(16, 36, 38, 0.96);
    border-color: rgba(16, 36, 38, 0.96);
}

.projects-entry-card .button-secondary {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(16, 36, 38, 0.16);
    color: #102426;
    backdrop-filter: none;
}

.projects-entry-card .button-secondary:hover,
.projects-entry-card .button-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(16, 36, 38, 0.2);
    color: #102426;
}

.projects-actions {
    margin-top: auto;
}

@keyframes projects-neon-ring {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.about-main {
    align-items: flex-start;
}

.about-shell-panel {
    min-height: auto;
    padding: clamp(1.2rem, 3vw, 1.8rem);
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.72fr);
    gap: 1rem;
    align-items: stretch;
}

.about-card {
    display: grid;
    height: 100%;
    gap: 1rem;
    align-content: start;
    padding: clamp(1.05rem, 2.2vw, 1.35rem);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.28);
    box-shadow: var(--shadow-panel);
    backdrop-filter: blur(var(--surface-blur));
}

.about-card h1,
.about-card p {
    color: rgba(16, 36, 38, 0.9);
}

.about-card h1 {
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    line-height: 1.12;
}

.about-card p {
    font-size: 0.98rem;
    line-height: 1.72;
    text-align: left;
}

.about-card .stack-lg > p:not(.page-next-link) {
    hyphens: none;
    text-align: justify;
    text-indent: 2em;
}

.about-image-panel {
    display: grid;
    place-items: center;
    padding: clamp(2rem, 3vw, 2rem);
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: transparent;
    box-shadow: 0 20px 50px rgba(37, 90, 78, 0.12);
    backdrop-filter: blur(12px);
}

.about-panel-logo {
    width: 80%;
    height: 80%;
    object-fit: contain;
    object-position: center;
    transform: scale(2.8);
    transform-origin: center;
}

.blog-main {
    align-items: flex-start;
}

.blog-shell-panel {
    min-height: auto;
    padding: clamp(1.2rem, 3vw, 1.8rem);
}

.blog-index {
    display: grid;
    gap: 1.5rem;
}

.blog-index-intro {
    gap: 0.65rem;
    max-width: 60rem;
    margin-bottom: 0.2rem;
}

.blog-index-intro h1 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.12;
}

.blog-index-intro p:not(.page-kicker) {
    color: rgba(16, 36, 38, 0.88);
    font-size: 1rem;
    max-width: 64ch;
}

.blog-list {
    display: grid;
    gap: 1rem;
}

.blog-list-item {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.28);
    box-shadow: var(--shadow-panel);
    backdrop-filter: blur(var(--surface-blur));
    isolation: isolate;
    overflow: hidden;
    position: relative;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.blog-list-link {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(110px, 140px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
    padding: clamp(1.05rem, 2.2vw, 1.35rem);
    color: inherit;
}

.blog-list-item::after {
    content: "";
    position: absolute;
    inset: -22%;
    border-radius: inherit;
    background: conic-gradient(from 0deg, rgba(123, 255, 115, 0.4), rgba(83, 247, 255, 0.38), rgba(122, 162, 255, 0.34), rgba(255, 111, 216, 0.42), rgba(255, 210, 92, 0.36), rgba(123, 255, 115, 0.4));
    opacity: 0;
    filter: blur(30px);
    pointer-events: none;
    z-index: 0;
    animation: projects-neon-ring 4.2s linear infinite reverse;
    animation-play-state: paused;
}

.blog-list-item:hover,
.blog-list-item:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(37, 90, 78, 0.18);
}

.blog-list-item:hover::after,
.blog-list-item:focus-within::after {
    opacity: 0.92;
    animation-play-state: running;
}

.blog-list-date {
    color: rgba(16, 36, 38, 0.68);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.blog-list-content {
    display: grid;
    gap: 0.7rem;
}

.blog-list-kicker {
    color: rgba(16, 36, 38, 0.66);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-list-meta,
.blog-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.blog-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2rem;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    background: rgba(16, 36, 38, 0.08);
    color: rgba(16, 36, 38, 0.86);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.2;
}

/* This keeps the blog meta emoji in their native color fonts. */
.blog-meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
    font-size: 1rem;
    line-height: 1;
}

.blog-list-content h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
    line-height: 1.15;
    color: rgba(16, 36, 38, 0.94);
}

.blog-list-link:hover .blog-list-content h2,
.blog-list-link:focus-visible .blog-list-content h2 {
    color: var(--color-accent-dark);
}

.blog-list-content p {
    color: rgba(16, 36, 38, 0.88);
    line-height: 1.72;
}

.blog-list-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

.blog-list-author {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(16, 36, 38, 0.78);
    font-size: 0.92rem;
    font-weight: 700;
}

.blog-list-author-logo {
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 999px;
    object-fit: cover;
    object-position: center top;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 8px 16px rgba(16, 36, 38, 0.08);
}

.blog-list-read {
    color: var(--color-accent-dark);
    font-weight: 700;
}

.blog-list-link:focus-visible {
    outline: none;
}

.blog-article-card {
    display: grid;
    gap: 1.35rem;
    align-content: start;
    padding: clamp(1.05rem, 2.2vw, 1.35rem);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.28);
    box-shadow: var(--shadow-panel);
    backdrop-filter: blur(var(--surface-blur));
}

.blog-article-card h1,
.blog-article-card p {
    color: rgba(16, 36, 38, 0.9);
}

.blog-article-card h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.15;
}

.blog-author-card {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(220px, 0.82fr);
    gap: 1rem 1.25rem;
    align-items: stretch;
    padding: 0.8rem 0.95rem;
    border: 1px solid rgba(16, 36, 38, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.32);
}

.blog-author-identity {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: center;
}

.blog-author-photo {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 18px rgba(16, 36, 38, 0.12);
}

.blog-author-copy {
    display: grid;
    gap: 0.18rem;
}

.blog-author-name-row {
    display: inline-flex;
    align-items: center;
    color: #102426;
    font-size: 1rem;
}

.blog-author-copy p {
    color: rgba(16, 36, 38, 0.72);
    font-size: 0.92rem;
}

.blog-author-meta {
    display: grid;
    gap: 0.4rem;
    align-content: center;
    justify-items: start;
    width: 100%;
    padding-left: 0.85rem;
    border-left: 1px solid rgba(16, 36, 38, 0.14);
}

.blog-author-meta .blog-article-date,
.blog-author-meta .blog-meta-pill {
    width: 100%;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(16, 36, 38, 0.86);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;
}

.blog-feature-visual {
    display: grid;
    grid-template-columns: minmax(0, 40fr) minmax(0, 40fr) minmax(140px, 20fr);
    grid-template-areas: "primary idea mark";
    gap: 0.9rem;
    align-items: stretch;
}

.blog-feature-plain {
    display: grid;
    gap: 0.35rem;
    max-width: 62ch;
}

.blog-feature-plain p {
    margin: 0;
    color: #102426;
    font-size: 1.02rem;
    line-height: 1.72;
    text-align: justify;
    text-justify: inter-word;
}

.blog-feature-panel,
.blog-feature-center-mark {
    position: relative;
}

.blog-feature-panel {
    display: grid;
    gap: 0.55rem;
    align-content: start;
    min-height: 116px;
    padding: 0.85rem 0.95rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-panel);
}

.blog-feature-panel-primary {
    grid-area: primary;
}

.blog-feature-content {
    margin: 0;
    color: #102426;
    font-size: clamp(1rem, 1.45vw, 1.16rem);
    font-weight: 700;
    line-height: 1.38;
    max-width: 20ch;
}

.blog-feature-label {
    color: rgba(16, 36, 38, 0.68);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.blog-feature-center-mark {
    grid-area: mark;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 128px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: var(--shadow-panel);
}

.blog-feature-center-mark img {
    width: 72%;
    height: 72%;
    object-fit: contain;
    transform: scale(2.2);
}

.blog-feature-panel-idea {
    grid-area: idea;
    min-width: 0;
}

.blog-feature-panel-idea .blog-feature-label {
    font-size: 0.74rem;
}

.blog-feature-panel-idea .blog-feature-content {
    font-size: clamp(0.92rem, 1.2vw, 1.03rem);
    line-height: 1.3;
    max-width: 18ch;
}

.blog-feature-code {
    color: #102426;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.blog-article-date {
    color: rgba(16, 36, 38, 0.68);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.blog-article-body {
    display: grid;
    gap: 1.75rem;
    max-width: 68ch;
}

.blog-article-section {
    gap: 0.9rem;
    max-width: 64ch;
}

.blog-article-body h2 {
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    line-height: 1.14;
    letter-spacing: -0.03em;
}

.blog-article-body p {
    max-width: 62ch;
    font-size: 1.02rem;
    line-height: 1.72;
    text-align: justify;
    text-justify: inter-word;
}

.blog-article-body p:not(.page-next-link) {
    hyphens: none;
    text-align: justify;
    text-indent: 0;
}

.blog-article-quote {
    margin: 0;
    max-width: 62ch;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.blog-article-quote p {
    color: #102426;
    font-family: inherit;
    max-width: none;
    font-size: 1.08rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.7;
}

.blog-article-cta {
    max-width: 56ch;
    margin-top: 0.5rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(16, 36, 38, 0.08);
    border-top-color: rgba(16, 36, 38, 0.24);
    box-shadow: 0 16px 30px rgba(16, 36, 38, 0.08);
}

.blog-article-cta h2,
.blog-article-cta p {
    color: rgba(16, 36, 38, 0.92);
}

.blog-article-cta h2 {
    max-width: 16ch;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.08;
}

.blog-article-cta p {
    max-width: 38ch;
    font-size: 0.95rem;
    line-height: 1.58;
}

.blog-article-cta-actions {
    align-items: center;
    gap: 0.8rem;
}

.blog-article-secondary-action {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(16, 36, 38, 0.14);
    color: #102426;
    backdrop-filter: blur(12px);
}

.blog-article-secondary-action:hover,
.blog-article-secondary-action:focus-visible {
    background: rgba(255, 255, 255, 0.44);
    border-color: rgba(16, 36, 38, 0.2);
    color: #102426;
}

.contact-main {
    align-items: flex-start;
}

.contact-shell-panel {
    min-height: auto;
    padding: clamp(1.2rem, 3vw, 1.8rem);
}

.contact-layout {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.contact-intro-card {
    grid-column: 1;
}

.contact-purpose-card {
    grid-column: 2;
}

.contact-connect-card {
    grid-column: 3;
    width: 100%;
}

.contact-form-card {
    grid-column: 1 / -1;
    grid-row: 2;
}

.contact-card {
    display: grid;
    gap: 1rem;
    align-content: start;
    padding: clamp(1.05rem, 2.2vw, 1.35rem);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.28);
    box-shadow: 0 20px 50px rgba(37, 90, 78, 0.14);
    backdrop-filter: blur(12px);
}

.contact-card h1,
.contact-card h2,
.contact-card p,
.contact-card li {
    color: rgba(16, 36, 38, 0.9);
}

.contact-card h1 {
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    line-height: 1.12;
}

.contact-card h2 {
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    line-height: 1.14;
}

.contact-card p,
.contact-card li {
    font-size: 0.98rem;
    line-height: 1.72;
}

.contact-lead {
    max-width: none;
    font-size: 0.98rem;
    line-height: 1.72;
}

.contact-intro-card .stack-lg > p {
    hyphens: none;
    text-align: justify;
    text-indent: 2em;
}

.contact-connect-grid {
    display: grid;
    grid-template-columns: repeat(2, 6.125rem);
    gap: 0.65rem;
    width: fit-content;
}

.contact-connect-tile {
    display: grid;
    place-items: center;
    gap: 0.7rem;
    aspect-ratio: 1 / 1;
    min-height: auto;
    padding: 0.7rem;
    border-radius: 18px;
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(16, 36, 38, 0.18);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.contact-connect-tile:hover,
.contact-connect-tile:focus-visible {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 22px 36px rgba(16, 36, 38, 0.24);
    filter: brightness(1.05);
    outline: none;
}

.contact-connect-github {
    background: #000000;
}

.contact-connect-linkedin {
    background: #0a66c2;
}

.contact-connect-icon {
    width: 3.50rem;
    height: 3.50rem;
    display: block;
}

.contact-connect-text {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1;
}

.contact-email-block {
    display: grid;
    gap: 0.75rem;
    justify-items: start;
}

.contact-email-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.6rem;
}

.contact-email-label {
    color: #102426;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.4;
}

.contact-email-address {
    color: #7f1d1d;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.5;
}

.contact-copy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.1rem;
    height: 0.9rem;
    padding: 0rem;
    border: 1px solid rgba(16, 36, 38, 0.14);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.62);
    color: #102426;
    line-height: 1;
    box-shadow: 0 10px 18px rgba(16, 36, 38, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.contact-copy-button:hover,
.contact-copy-button:focus-visible {
    background: rgba(255, 255, 255, 0.82);
    color: #0a0a0a;
    box-shadow: 0 14px 22px rgba(16, 36, 38, 0.12);
    transform: translateY(-1px);
    outline: none;
}

.contact-copy-button.is-copied {
    background: rgba(34, 197, 94, 0.16);
    border-color: rgba(34, 197, 94, 0.34);
    color: #15803d;
    box-shadow: 0 12px 20px rgba(34, 197, 94, 0.18);
}

.contact-copy-icon {
    width: 1.2rem;
    height: 1.2rem;
    display: block;
}

.contact-check-icon {
    width: 0.86rem;
    height: 0.86rem;
    display: none;
}

.contact-copy-button.is-copied .contact-copy-icon {
    display: none;
}

.contact-copy-button.is-copied .contact-check-icon {
    display: block;
}

.contact-email-note {
    color: rgba(16, 36, 38, 0.9);
    font-size: 0.94rem;
    line-height: 1.6;
    margin: 0;
}

.contact-email-note-muted {
    color: rgba(16, 36, 38, 0.72);
}

.contact-form {
    display: grid;
    gap: 0.85rem;
}

.contact-field {
    display: grid;
    gap: 0.38rem;
}

.contact-field span {
    color: #102426;
    font-weight: 700;
    font-size: 0.88rem;
}

.contact-input {
    width: 100%;
    border: 1px solid rgba(16, 36, 38, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.62);
    color: #102426;
    padding: 0.82rem 0.95rem;
    font-size: 0.97rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-input::placeholder {
    color: rgba(16, 36, 38, 0.52);
}

.contact-input:focus {
    border-color: rgba(28, 109, 116, 0.52);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 0 0 4px rgba(47, 157, 166, 0.14);
    outline: none;
}

.contact-textarea {
    min-height: 8.5rem;
    resize: vertical;
}

.contact-submit {
    width: fit-content;
    min-height: 3rem;
    padding: 0.78rem 1.15rem;
    background: rgba(16, 36, 38, 0.96);
    border-color: rgba(16, 36, 38, 0.96);
}

.contact-submit:hover,
.contact-submit:focus-visible {
    background: #153437;
    border-color: #153437;
}

.contact-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.contact-link-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    background: #102426;
    color: #f7fffc;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 12px 24px rgba(16, 36, 38, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-link-pill:hover,
.contact-link-pill:focus-visible {
    background: #153437;
    color: #ffffff;
    box-shadow: 0 18px 30px rgba(16, 36, 38, 0.22);
    transform: translateY(-2px);
    outline: none;
}

.contact-purpose-list {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.55rem;
}

.projects-action-link {
    position: relative;
    overflow: hidden;
    gap: 0.65rem;
    min-width: 8.5rem;
    padding: 0.72rem 1.2rem 0.72rem 0.8rem;
    justify-content: center;
    background: linear-gradient(135deg, rgba(9, 16, 18, 0.96) 0%, rgba(19, 35, 38, 0.94) 100%);
    border-color: rgba(255, 255, 255, 0.14);
    color: #f7fffc;
    box-shadow: 0 14px 28px rgba(8, 15, 16, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.projects-action-link::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 40%, transparent 65%, rgba(255, 255, 255, 0.04));
    pointer-events: none;
}

.projects-action-link:hover,
.projects-action-link:focus-visible {
    background: linear-gradient(135deg, rgba(6, 11, 12, 0.99) 0%, rgba(16, 27, 30, 0.98) 100%);
    border-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
    box-shadow: 0 22px 42px rgba(8, 15, 16, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transform: translateY(-3px) scale(1.03);
}

.projects-action-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    flex: 0 0 auto;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.projects-action-badge-github {
    background: #000000;
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
}

.projects-action-badge-site {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.28);
}

.projects-action-link:hover .projects-action-badge,
.projects-action-link:focus-visible .projects-action-badge {
    transform: scale(1.12);
}

.projects-action-icon {
    width: 1.2rem;
    height: 1.2rem;
    flex: 0 0 auto;
}

.projects-action-text {
    position: relative;
    z-index: 1;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
}

.home-intro-panel {
    padding: clamp(1.4rem, 3vw, 2.1rem);
}

.home-main-stack {
    display: grid;
    gap: 1rem;
    width: 100%;
}

.home-intro-layout {
    display: grid;
    grid-template-columns: minmax(0, 70%) minmax(0, 25%);
    column-gap: 5%;
    align-items: start;
}

.home-intro-copy {
    display: grid;
    gap: 1.1rem;
    align-content: start;
}

/* This lets the home hero title inherit the same shared page-heading treatment. */
.home-intro-title {
    color: var(--color-heading);
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    max-width: 11ch;
}

.home-intro-lead {
    max-width: 58ch;
    color: rgba(16, 36, 38, 0.92);
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.72;
}

.home-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.home-value-list {
    display: grid;
    gap: 0.72rem;
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: 56ch;
}

.home-value-list li {
    padding: 0.8rem 1rem;
    border: 1px solid rgba(16, 36, 38, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.28);
    color: rgba(16, 36, 38, 0.88);
    font-weight: 600;
    line-height: 1.62;
}

.home-intro-copy p {
    color: rgba(16, 36, 38, 0.88);
    font-size: 1.02rem;
    line-height: 1.8;
    text-align: left;
}

.home-intro-copy > p:not(.home-intro-lead) {
    hyphens: none;
    text-align: justify;
}

.home-intro-profile {
    display: grid;
    gap: 1rem;
    justify-items: center;
    align-content: start;
    text-align: left;
}

.home-photo-frame {
    width: 6cm;
    height: 264.57px;
    max-width: 100%;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(16, 36, 38, 0.16);
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.55), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.18));
    box-shadow: 0 16px 30px rgba(16, 36, 38, 0.14);
}

.home-photo-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.home-profile-note {
    width: min(100%, 6cm);
    max-width: 6cm;
    color: rgba(16, 36, 38, 0.9);
    font-weight: 600;
    line-height: 1.7;
    text-align: center;
}

.home-follow-block {
    display: grid;
    width: 100%;
    max-width: 100%;
    padding-top: 20px;
}

.home-follow-groups {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 0.9rem 2.2rem;
    width: 100%;
}

.home-follow-group {
    display: grid;
    gap: 0.55rem;
    justify-items: center;
}

.home-follow-group-share {
    justify-items: center;
}

.home-follow-title {
    color: rgba(16, 36, 38, 0.92);
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.home-social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.home-social-links-share {
    gap: 0;
}

.home-share-widget {
    position: relative;
    width: auto;
    justify-items: center;
}

.home-share-widget .support-share-stack {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
}

.home-share-widget .support-share-options {
    position: absolute;
    left: calc(100% + 0.9rem + 18px);
    bottom: 0;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    justify-items: center;
    transform: translateX(-10px) scale(0.94);
}

.home-share-widget.is-open .support-share-options {
    transform: translateX(0) scale(1);
}

.home-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    color: #ffffff;
    box-shadow: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
    transform-origin: center center;
}

.home-social-link:hover,
.home-social-link:focus-visible {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    transform: scale(1.3);
}

.home-social-link:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 0 0 6px rgba(15, 23, 42, 0.28);
    transform: scale(1.12);
}

.home-social-link:active {
    transform: scale(0.94);
}

.home-social-link svg {
    width: 23.4px;
    height: 23.4px;
    display: block;
}

.home-social-github {
    background: #000000;
}

.home-social-linkedin {
    background: #0a66c2;
}

.home-social-facebook {
    background: #1877f2;
}

.home-social-x {
    background: #111111;
}

.home-social-whatsapp {
    background: #25d366;
}

.home-social-instagram {
    background: linear-gradient(135deg, #f58529 0%, #feda77 22%, #dd2a7b 54%, #8134af 78%, #515bd4 100%);
}

.home-social-telegram {
    background: #229ed9;
}

.home-social-share {
    background: #2563eb;
}

.home-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.home-summary-card {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 0.9rem;
    align-content: start;
    padding: clamp(1.2rem, 2.5vw, 1.6rem);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.44);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.42), transparent 34%),
        linear-gradient(135deg, rgba(127, 191, 174, 0.82) 0%, rgba(139, 198, 179, 0.68) 48%, rgba(169, 221, 205, 0.56) 100%);
    box-shadow: 0 20px 50px rgba(37, 90, 78, 0.16);
}

.home-summary-card h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #102426;
}

.home-summary-card p {
    color: rgba(16, 36, 38, 0.88);
    line-height: 1.75;
}

.home-summary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: #102426;
    color: #f7fffc;
    font-weight: 700;
    box-shadow: 0 12px 26px rgba(16, 36, 38, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.home-summary-link:hover,
.home-summary-link:focus-visible {
    transform: translateY(-2px);
}

.page-shell-main .button-primary:not(.support-chip-btn),
.page-shell-main .projects-action-link,
.page-shell-main .home-summary-link,
.page-shell-main .contact-link-pill {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.page-shell-main .button-primary:not(.support-chip-btn):hover,
.page-shell-main .button-primary:not(.support-chip-btn):focus-visible,
.page-shell-main .projects-action-link:hover,
.page-shell-main .projects-action-link:focus-visible,
.page-shell-main .home-summary-link:hover,
.page-shell-main .home-summary-link:focus-visible,
.page-shell-main .contact-link-pill:hover,
.page-shell-main .contact-link-pill:focus-visible {
    background:
        radial-gradient(circle at 20% 125%, rgba(255, 191, 92, 0.92), transparent 22%),
        radial-gradient(circle at 38% 122%, rgba(255, 78, 28, 0.9), transparent 26%),
        radial-gradient(circle at 62% 124%, rgba(222, 36, 14, 0.92), transparent 23%),
        radial-gradient(circle at 82% 121%, rgba(255, 137, 38, 0.8), transparent 24%),
        linear-gradient(180deg, #2c130d 0%, #170806 55%, #0d0403 100%);
    border-color: rgba(255, 120, 72, 0.58);
    color: #fff8f2;
    box-shadow:
        0 18px 34px rgba(17, 31, 33, 0.16),
        0 0 22px rgba(255, 94, 43, 0.38),
        0 0 42px rgba(222, 36, 14, 0.28),
        0 14px 28px rgba(255, 84, 26, 0.18),
        inset 0 1px 0 rgba(255, 231, 190, 0.2);
    filter: saturate(1.14);
    animation: content-fire-burn 1.7s linear infinite;
}

.page-shell-main .button-primary:not(.support-chip-btn)::after,
.page-shell-main .projects-action-link::after,
.page-shell-main .home-summary-link::after,
.page-shell-main .contact-link-pill::after {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: -48%;
    height: 150%;
    background:
        radial-gradient(ellipse at 9% 92%, rgba(255, 208, 120, 0.96), rgba(255, 208, 120, 0.52) 16%, transparent 34%),
        radial-gradient(ellipse at 21% 88%, rgba(255, 94, 43, 0.96), rgba(255, 94, 43, 0.56) 18%, transparent 38%),
        radial-gradient(ellipse at 36% 94%, rgba(255, 173, 82, 0.92), rgba(255, 173, 82, 0.48) 15%, transparent 33%),
        radial-gradient(ellipse at 49% 86%, rgba(222, 36, 14, 0.96), rgba(222, 36, 14, 0.54) 17%, transparent 35%),
        radial-gradient(ellipse at 64% 92%, rgba(255, 118, 56, 0.94), rgba(255, 118, 56, 0.5) 15%, transparent 34%),
        radial-gradient(ellipse at 79% 87%, rgba(255, 70, 24, 0.94), rgba(255, 70, 24, 0.5) 17%, transparent 36%),
        radial-gradient(ellipse at 92% 94%, rgba(255, 205, 112, 0.9), rgba(255, 205, 112, 0.44) 14%, transparent 30%);
    filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px) scale(0.84, 0.72);
    transform-origin: center bottom;
    z-index: 0;
}

.page-shell-main .button-primary:not(.support-chip-btn):hover::after,
.page-shell-main .button-primary:not(.support-chip-btn):focus-visible::after,
.page-shell-main .projects-action-link:hover::after,
.page-shell-main .projects-action-link:focus-visible::after,
.page-shell-main .home-summary-link:hover::after,
.page-shell-main .home-summary-link:focus-visible::after,
.page-shell-main .contact-link-pill:hover::after,
.page-shell-main .contact-link-pill:focus-visible::after {
    opacity: 1;
    animation: content-fire-flicker 0.82s ease-in-out infinite alternate;
}

.page-shell-main .projects-action-link > *,
.page-shell-main .contact-link-pill > * {
    position: relative;
    z-index: 1;
}

@keyframes content-fire-burn {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 50% 0%;
    }

    50% {
        background-position: 3% -8%, -2% -12%, 2% -16%, -3% -10%, 50% 100%;
    }

    100% {
        background-position: 0% -16%, 0% -20%, 0% -24%, 0% -18%, 50% 100%;
    }
}

@keyframes content-fire-flicker {
    0% {
        opacity: 0.56;
        transform: translateY(18px) scale(0.84, 0.72) skewX(-2deg);
    }

    50% {
        opacity: 0.96;
        transform: translateY(4px) scale(1.04, 1.08) skewX(2deg);
    }

    100% {
        opacity: 0.68;
        transform: translateY(10px) scale(0.94, 0.88) skewX(-1deg);
    }
}

.site-footer {
    padding: 0 0 0.95rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4.75rem;
    padding: 0.6rem 0rem 0.6rem;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0rem;
    justify-items: center;
    max-width: 56rem;
    width: 100%;
    text-align: center;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.25rem 0.65rem;
}

/* This centers the shared footer favicon in a fixed print-safe square. */
.footer-logo-badge {
    display: grid;
    place-items: center;
    width: 2cm;
    height: 2cm;
    margin: 0.35rem auto 0.2rem;
}

.footer-logo-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.footer-nav a,
.footer-nav .footer-separator {
    color: rgba(16, 36, 38, 0.92);
    font-size: 0.92rem;
    font-weight: 700;
}

.footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.4rem;
    padding: 0.25rem 0.18rem;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
    color: #102426;
}

.footer-nav .footer-separator {
    font-weight: 600;
}

.footer-meta,
.footer-disclaimer {
    margin: 0;
    color: rgba(16, 36, 38, 0.82);
}

.footer-meta-strong {
    font-weight: 800;
    color: #102426;
}

.footer-disclaimer {
    max-width: 68ch;
    font-size: 0.92rem;
}

.footer-spacer {
    height: 0.35rem;
}

.footer-promise {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 1.25rem;
    width: 100%;
}

.footer-promise span {
    color: #102426;
    font-weight: 800;
}

.legal-main {
    flex: 1;
    padding: var(--page-shell-space) 0;
}

.legal-panel {
    padding: clamp(1.5rem, 3vw, 2.4rem);
}

.legal-panel h1 {
    margin-bottom: 0.75rem;
}

/* This keeps all page-level headings aligned to the Projects-page reference. */
.projects-page-intro h1,
.about-card h1,
.blog-index-intro h1,
.blog-article-card h1,
.contact-card h1,
.support-menu-card h1,
.legal-panel h1 {
    color: var(--color-heading);
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.legal-panel h2 {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    margin-top: 0.5rem;
}

.legal-panel p,
.legal-panel li {
    color: rgba(16, 36, 38, 0.88);
    line-height: 1.78;
}

.legal-panel ul {
    margin: 0;
    padding-left: 1.2rem;
}

.home-landing-shell {
    padding-top: 2rem;
}

.home-landing-stack {
    display: grid;
    gap: 1.5rem;
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.78fr);
    gap: 1.5rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, var(--color-hero-glow), transparent 28%),
        linear-gradient(135deg, var(--color-hero-start) 0%, var(--color-hero-end) 100%);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

/* Ensure hero columns stretch so stacked right tiles match left tile height */
.landing-hero {
    align-items: stretch;
}

.landing-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.landing-hero-right {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
}

.landing-hero-right .landing-info-card,
.landing-hero-right .landing-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Ensure headings and eyebrow spacing are visually balanced inside hero tiles */
.landing-hero .panel-kicker {
    margin-bottom: 0.4rem;
    font-weight: 800;
}

.landing-hero h1 {
    margin: 0 0 0.25rem 0;
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    line-height: 1.05;
}

.landing-hero .hero-subtitle,
.landing-hero .hero-description {
    color: rgba(10,10,10,0.82);
}

.landing-hero-copy {
    display: grid;
    gap: 1.2rem;
    align-content: start;
}

.landing-eyebrow,
.landing-hero .hero-subtitle,
.landing-hero .hero-description,
.landing-hero h1,
.landing-hero .button-secondary {
    color: #0a0a0a;
}

.landing-hero h1 {
    font-size: clamp(3.2rem, 7vw, 5.8rem);
    max-width: 10ch;
}

.landing-hero .hero-subtitle {
    max-width: 24ch;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.landing-hero .hero-description {
    max-width: 58ch;
    color: rgba(10, 10, 10, 0.82);
}

.landing-eyebrow {
    color: rgba(10, 10, 10, 0.72);
}

.landing-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.25rem;
}

.landing-metric-card,
.landing-info-card,
.landing-panel,
.landing-feature-card {
    border: 1px solid rgba(10, 10, 10, 0.08);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.landing-metric-card:hover,
.landing-metric-card:focus-within,
.landing-info-card:hover,
.landing-info-card:focus-within,
.landing-panel:hover,
.landing-panel:focus-within,
.landing-feature-card:hover,
.landing-feature-card:focus-within {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.landing-metric-card {
    display: grid;
    gap: 0.45rem;
    padding: 1rem 1.05rem;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.landing-metric-card strong {
    color: #0a0a0a;
    font-size: 1rem;
    line-height: 1.45;
}

.landing-metric-label,
.landing-signal-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(10, 10, 10, 0.58);
}

.landing-info-card {
    display: grid;
    gap: 1rem;
    align-content: start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(12px);
}

.landing-info-card h2,
.landing-info-card p,
.landing-info-card .panel-kicker {
    color: #0a0a0a;
}

.landing-divider-list,
.landing-signal-grid {
    display: grid;
    gap: 0.85rem;
}

.landing-divider-list p {
    padding-left: 1rem;
    border-left: 2px solid rgba(10, 10, 10, 0.18);
}

.landing-signal-grid {
    grid-template-columns: 1fr;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.landing-section-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.landing-panel {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-surface);
}

.landing-panel-wide {
    grid-column: span 2;
}

.landing-panel-muted {
    background: var(--color-surface-strong);
}

.landing-heading-block h2 {
    max-width: 18ch;
}

.landing-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.landing-feature-card {
    display: grid;
    gap: 0.7rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.34);
}

.landing-link-list .text-link {
    color: var(--color-heading);
}

.landing-link-list .text-link:hover,
.landing-link-list .text-link:focus-visible {
    color: var(--color-accent-dark);
}

.footer-grid {
    grid-template-columns: minmax(0, 1.4fr) auto;
    align-items: start;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-footer-border);
}

.footer-brand-block {
    display: grid;
    gap: 1rem;
}

.footer-title {
    color: var(--color-footer-heading);
    font-size: 1.4rem;
}

.footer-copy {
    max-width: 48ch;
    padding-left: 0;
    border-left: 0;
    color: var(--color-footer-text);
}

.footer-trust-list {
    display: grid;
    gap: 0.85rem;
    max-width: 56ch;
}

.footer-trust-list p {
    padding: 0.9rem 1rem;
    border: 1px solid var(--color-footer-border);
    border-radius: 16px;
    background: var(--color-footer-surface);
    color: var(--color-footer-heading);
}

.footer-links {
    display: grid;
    gap: 0.75rem;
    justify-items: start;
    min-width: 220px;
    padding: 1.4rem;
    background: var(--color-footer-surface);
    border: 1px solid var(--color-footer-border);
    border-radius: 20px;
    box-shadow: none;
}

.footer-links a {
    font-weight: 700;
    color: var(--color-footer-heading);
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: #ffffff;
}

@media (max-width: 920px) {
    .page-shell-main,
    .legal-main {
        padding: 0.85rem 0;
    }

    .footer-inner {
        padding: 1rem;
    }

    .footer-content {
        max-width: none;
    }

    .footer-nav {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .page-empty-panel-card {
        min-height: clamp(14rem, 44vh, 22rem);
    }

    .footer-nav {
        gap: 0.35rem 0.6rem;
    }

    .footer-nav a {
        min-height: 2.6rem;
        padding: 0.4rem 0.25rem;
    }
}

/* Shared component rules below keep panels consistent without using the old cyan surface. */

/*
    Responsive rules keep the layout readable and polished on smaller devices.
*/
@media (max-width: 920px) {
    .about-layout,
    .contact-layout,
    .home-intro-layout,
    .home-summary-grid,
    .projects-grid,
    .landing-hero,
    .landing-section-grid,
    .landing-feature-grid,
    .landing-metrics,
    .home-layout,
    .hero-grid,
    .content-grid,
    .detail-grid,
    .feature-grid,
    .footer-grid,
    .support-panel-grid {
        grid-template-columns: 1fr;
    }

    .hero-summary-grid,
    .home-list-grid,
    .home-principles-grid {
        grid-template-columns: 1fr;
    }

    .landing-panel-wide {
        grid-column: auto;
    }

    .project-card-header {
        flex-direction: column;
    }

    .contact-connect-card {
        width: 100%;
    }

    .blog-feature-visual {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "primary primary"
            "idea mark";
    }

    .blog-feature-center-mark {
        min-height: 120px;
    }
}

@media (max-width: 760px) {
    .blog-list-item {
        gap: 0.75rem;
    }

    .blog-list-link {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .blog-list-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-author-card {
        grid-template-columns: 1fr;
    }

    .blog-author-meta {
        width: 100%;
        padding-left: 0;
        padding-top: 0.8rem;
        border-left: 0;
        border-top: 1px solid rgba(16, 36, 38, 0.14);
    }

    .blog-feature-visual {
        grid-template-columns: 1fr;
        grid-template-areas:
            "primary"
            "idea"
            "mark";
    }

    .blog-feature-panel-idea {
        min-width: 0;
    }

    .blog-article-cta-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-intro-panel {
        padding: 1.2rem;
    }

    .home-intro-title {
        font-size: clamp(1.8rem, 3vw, 2.5rem);
        max-width: 12ch;
    }

    .home-intro-lead {
        font-size: 1rem;
    }

    .home-cta-row {
        gap: 0.75rem;
    }

    .home-summary-card {
        padding: 1.15rem;
    }

    .home-intro-copy p {
        font-size: 0.98rem;
        line-height: 1.72;
    }

    .page-shell-main,
    .legal-main {
        padding: 0.75rem 0;
    }

    .section-space {
        padding: 3.5rem 0;
    }

    .site-header {
        padding-top: 0.7rem;
    }

    .header-inner {
        min-height: auto;
        flex-wrap: wrap;
        gap: 0.85rem;
        padding: 0.85rem 0.95rem;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .header-actions {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding-top: 0.25rem;
    }

    .site-header.is-open .header-actions {
        display: flex;
    }

    .site-nav {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 0.6rem;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.22);
    }

    .site-nav a {
        width: 100%;
        justify-content: flex-start;
        min-height: 3rem;
    }

    .header-cta {
        width: 100%;
    }

    .brand-meta {
        display: none;
    }
}

@media (max-width: 560px) {
    .home-photo-frame {
        width: min(100%, 6cm);
        height: auto;
        aspect-ratio: 3 / 4;
    }

    .container {
        width: min(calc(100% - 1.25rem), var(--container-width));
    }

    .info-card,
    .feature-card,
    .content-card,
    .project-card,
    .support-card,
    .landing-panel,
    .landing-info-card,
    .home-hero-card,
    .home-section-card,
    .side-panel {
        padding: 1.25rem;
        border-radius: 20px;
    }

    .landing-hero {
        padding: 1.25rem;
        border-radius: 20px;
    }

    .support-chip {
        padding: 1rem;
        border-radius: 18px;
    }

    .brand-name {
        font-size: 0.98rem;
    }

    .brand-meta {
        font-size: 0.8rem;
    }

    .home-cta-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-value-list li {
        padding: 0.72rem 0.85rem;
    }

    .page-kicker {
        font-size: 0.76rem;
    }
}