/* ==========================================================================
   Wolf Designs — Premium Portfolio
   ========================================================================== */

:root {
    --bg-deep: #e8ece9;
    --bg-elevated: rgba(255, 255, 255, 0.35);
    --bg-card: rgba(255, 255, 255, 0.42);
    --border: rgba(255, 255, 255, 0.55);
    --border-hover: rgba(255, 255, 255, 0.85);
    --text: #1c1c1e;
    --text-muted: rgba(28, 28, 30, 0.62);
    --text-dim: rgba(28, 28, 30, 0.42);
    --green: #5a9a72;
    --green-dark: #3d7a58;
    --green-soft: rgba(90, 154, 114, 0.22);
    --green-glow: rgba(90, 154, 114, 0.28);
    --beige-warm: rgba(255, 252, 248, 0.5);
    --gold: var(--green);
    --gold-soft: var(--green-soft);
    --ember: #c4846e;
    --ember-soft: rgba(196, 132, 110, 0.22);
    --sage: #5a8f72;
    --sage-soft: rgba(90, 143, 114, 0.22);
    --glass-blur: 40px;
    --glass-saturate: 180%;
    --glass-bg: rgba(255, 255, 255, 0.48);
    --glass-bg-strong: rgba(255, 255, 255, 0.62);
    --glass-border: rgba(255, 255, 255, 0.72);
    --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.92);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.07), 0 2px 8px rgba(0, 0, 0, 0.04);
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Outfit", system-ui, sans-serif;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
    --header-h: 72px;
    --header-offset: 16px;
    --container: min(1120px, calc(100% - 48px));
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg-deep);
    overflow-x: hidden;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 90% 70% at 15% 8%, rgba(90, 154, 114, 0.38), transparent 55%),
        radial-gradient(ellipse 70% 60% at 88% 12%, rgba(196, 132, 110, 0.28), transparent 50%),
        radial-gradient(ellipse 80% 65% at 50% 95%, rgba(120, 170, 200, 0.22), transparent 55%),
        radial-gradient(ellipse 50% 40% at 70% 60%, rgba(255, 240, 220, 0.45), transparent 50%),
        linear-gradient(165deg, #f2ebe3 0%, #e6eee9 45%, #ebe4dc 100%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
    pointer-events: none;
}

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

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

ul {
    list-style: none;
}

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

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 9999;
    padding: 12px 20px;
    background: var(--gold);
    color: var(--bg-deep);
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.skip-link:focus {
    top: 16px;
    color: #fff;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

/* Grain overlay — subtle on glass */
.grain {
    display: none;
}

/* Glass material utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
}

/* Typography */
.eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    margin-bottom: 1rem;
}

.section-lead {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 52ch;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.35s var(--ease-spring), background 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.btn:hover {
    transform: scale(1.03);
}

.btn:active {
    transform: scale(0.97);
}

.btn--primary {
    background: rgba(90, 154, 114, 0.82);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 20px rgba(90, 154, 114, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn--primary:hover {
    background: rgba(74, 138, 98, 0.92);
    box-shadow: 0 8px 28px rgba(90, 154, 114, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-color: rgba(255, 255, 255, 0.65);
    color: var(--text);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.85);
}

.btn--sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn--full {
    width: 100%;
}

.btn--store {
    margin-top: auto;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--green-dark);
    border-radius: 100px;
    box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.btn--store:hover {
    background: rgba(255, 255, 255, 0.52);
    border-color: rgba(255, 255, 255, 0.85);
}

/* Header — floating glass bar */
.site-header {
    position: fixed;
    top: var(--header-offset);
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: min(calc(100% - 24px), 1080px);
    height: var(--header-h);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 48px rgba(0, 0, 0, 0.09), var(--glass-highlight);
}

.header-inner {
    height: 100%;
    padding-inline: 0.75rem 1rem;
}

@media (min-width: 769px) {
    .header-inner {
        padding-inline: 1rem 1.25rem;
    }
}

.logo-img {
    display: block;
    height: 44px;
    width: auto;
    transition: transform 0.3s var(--ease-spring);
}

.logo--hero .logo-img,
.logo-img.logo-img--hero {
    height: clamp(100px, 18vw, 160px);
    width: auto;
    margin-inline: auto;
}

.hero-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    padding: 2rem 0 0.5rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-brand .logo {
    justify-content: center;
}

.hero-brand-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    max-width: 640px;
    margin-inline: auto;
    margin-top: 0.25rem;
    padding-top: 0.5rem;
}

.hero-brand-copy .hero-title--compact {
    margin-bottom: 0;
    font-size: clamp(1.5rem, 3.25vw, 2.125rem);
    line-height: 1.2;
}

.hero-brand-copy .hero-lead--compact {
    margin-inline: auto;
    font-size: clamp(0.875rem, 1.6vw, 1rem);
    line-height: 1.55;
}

.hero-nav-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
}

.site-nav--hero {
    width: min(100%, 520px);
}

.page-home .hero--apps {
    padding: 2rem 0 64px;
}

.logo:hover .logo-img {
    transform: translateY(-1px);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo--footer .logo-img {
    height: 34px;
}

.logo-img--nav {
    height: 36px;
    width: auto;
}

/* Primary navigation */
.site-header .site-nav--bar,
.site-header .header-inner {
    height: 100%;
}

.site-nav--bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem 1rem;
    width: 100%;
    height: 100%;
}

.site-nav__brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-nav__brand .logo {
    line-height: 0;
}

.site-nav__panel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-width: 0;
}

.site-nav__links {
    display: flex;
    justify-content: center;
    min-width: 0;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 3px;
    list-style: none;
    margin: 0;
    padding: 5px;
    border-radius: 100px;
    background: rgba(28, 28, 30, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.site-nav__list a {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.site-nav__list a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.42);
}

.site-nav__list a.is-active {
    color: var(--green-dark);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.site-nav__item {
    position: relative;
}

.site-nav__trigger {
    cursor: pointer;
}

.site-nav__submenu {
    list-style: none;
    margin: 0;
    padding: 0.4rem;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 220px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), var(--glass-highlight);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 120;
}

.site-nav__item--has-submenu.is-open .site-nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.site-nav__submenu a {
    display: block;
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.site-nav__submenu a:hover {
    color: var(--text);
    background: rgba(28, 28, 30, 0.06);
}

.site-nav__actions {
    display: none;
}

.site-nav--hero {
    display: flex;
    justify-content: center;
}

.site-nav--hero .site-nav__panel {
    width: 100%;
}

.site-nav--hero .site-nav__list {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    padding: 6px;
}

.site-nav--hero .site-nav__list a {
    flex: 1 1 auto;
    text-align: center;
    min-width: 4.5rem;
    padding: 0.55rem 0.875rem;
}

.nav-backdrop {
    display: none;
}

.nav-toggle {
    display: none;
    position: relative;
    z-index: 102;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 14px;
    cursor: pointer;
    color: var(--text);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), var(--glass-highlight);
    transition: background 0.2s, transform 0.2s var(--ease-spring);
}

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

.nav-toggle:active {
    transform: scale(0.96);
}

@media (min-width: 769px) {
    .hero-nav-wrap .nav-toggle {
        display: none;
    }

    .site-nav--hero {
        padding-right: 0;
    }

    .site-nav--bar {
        grid-template-columns: auto 1fr;
    }

    .site-nav--bar .site-nav__brand {
        grid-column: 1;
        grid-row: 1;
    }

    .site-nav--bar .site-nav__panel {
        grid-column: 2;
        grid-row: 1;
    }

    .site-nav__panel {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        flex-direction: row;
    }

    .nav-backdrop {
        display: none !important;
    }
}

@media (min-width: 900px) {
    .site-nav__actions {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .site-nav--bar .site-nav__panel {
        justify-content: center;
        gap: 1rem;
    }

    .site-header .nav-toggle {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 899px) {
    .site-nav--bar .site-nav__panel {
        justify-content: flex-end;
    }

    .site-header .nav-toggle {
        display: flex;
    }
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    display: block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle-bar {
    position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 48px) 0 80px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.hero-glow--1 {
    width: 600px;
    height: 600px;
    top: -20%;
    right: -10%;
    background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
}

.hero-glow--2 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    left: -15%;
    background: radial-gradient(circle, rgba(232, 223, 208, 0.9) 0%, transparent 70%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.05;
}

.hero-title em {
    font-style: italic;
    color: var(--green-dark);
}

.hero-lead {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 48ch;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.scroll-dot {
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(6px); }
}

/* App-first landing hero */
.hero--apps {
    min-height: auto;
    align-items: flex-start;
    padding: calc(var(--header-h) + var(--header-offset) + 24px) 0 64px;
}

.hero-apps-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-apps-intro {
    max-width: 640px;
    padding: 1.75rem 2rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.hero-title--compact {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.hero-lead--compact {
    margin-bottom: 0;
    max-width: 52ch;
}

.apps-grid--featured {
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .apps-grid--featured {
        grid-template-columns: repeat(3, 1fr);
    }
}

.app-card--featured {
    border-width: 1.5px;
}

.app-card--featured h2 {
    font-size: 1.375rem;
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

.app-card--featured h2 a {
    color: inherit;
    transition: color 0.25s;
}

.app-card--featured h2 a:hover {
    color: var(--green-dark);
}

.app-card-visual--featured {
    aspect-ratio: 1 / 1;
    padding: 2rem;
}

.app-icon--xl {
    width: 120px;
    height: 120px;
    border-radius: 28px;
}

.app-card--featured .app-card-actions .btn--primary {
    flex: 1;
}

.scripture--compact {
    padding: 48px 0;
    background: transparent;
    border: none;
}

.scripture--compact .scripture-inner {
    padding: 2rem 2.5rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.scripture--compact blockquote p {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    margin-bottom: 0.75rem;
}

.about-section--compact {
    padding: calc(var(--header-h) + var(--header-offset) + 48px) 0 64px;
    border-top: none;
}

.about-designer {
    display: grid;
    gap: 2.5rem;
    align-items: center;
    max-width: 1040px;
    margin-inline: auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

@media (min-width: 768px) {
    .about-designer {
        grid-template-columns: minmax(360px, 42%) 1fr;
        gap: 3.5rem;
    }
}

.about-designer-photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: none;
    box-shadow: none;
    aspect-ratio: 3 / 4;
    max-width: min(420px, 88vw);
    margin-inline: auto;
}

@media (min-width: 768px) {
    .about-designer-photo {
        max-width: none;
        width: 100%;
    }
}

.about-designer-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(100%);
}

.about-designer-copy h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 0.35rem;
}

.about-designer-title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--green-dark);
}

.about-designer-role {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--green-dark);
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.about-compact {
    text-align: center;
    max-width: 560px;
    margin-inline: auto;
    padding: 2rem 2.5rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.about-compact-text {
    color: var(--text-muted);
    font-size: 1.0625rem;
    margin-bottom: 1.25rem;
    line-height: 1.7;
    text-align: left;
}

.about-designer-copy .about-compact-text:last-of-type {
    margin-bottom: 1.75rem;
}

.contact-section {
    padding-top: 80px;
}

/* Apps section */
.apps-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--beige-warm) 50%, var(--bg-deep) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-lead {
    margin-inline: auto;
}

.apps-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 900px) {
    .apps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.app-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    transition: transform 0.5s var(--ease-spring), box-shadow 0.5s, border-color 0.4s;
}

.app-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1), var(--glass-highlight);
}

.app-card--gold:hover { box-shadow: 0 16px 48px rgba(90, 154, 114, 0.15), var(--glass-highlight); }
.app-card--ember:hover { box-shadow: 0 16px 48px rgba(196, 132, 110, 0.12), var(--glass-highlight); }
.app-card--sage:hover { box-shadow: 0 16px 48px rgba(90, 143, 114, 0.15), var(--glass-highlight); }

.app-card-visual {
    position: relative;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.app-card-glow {
    position: absolute;
    inset: 20%;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
}

.app-card--gold .app-card-glow { background: var(--gold-soft); }
.app-card--ember .app-card-glow { background: var(--ember-soft); }
.app-card--sage .app-card-glow { background: var(--sage-soft); }

.app-icon {
    position: relative;
    z-index: 1;
    width: 88px;
    height: 88px;
    border-radius: 22px;
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.8) inset,
        0 12px 28px rgba(62, 56, 48, 0.12);
    overflow: hidden;
}

.app-icon--bible-reader {
    background: linear-gradient(145deg, #fffdf9 0%, var(--beige-warm) 100%);
    border: 1px solid rgba(107, 159, 126, 0.35);
}

.app-icon--bible-reader::after {
    content: "✝";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--green-dark);
}

.app-icon--igitabo {
    background: linear-gradient(145deg, #fffdf9 0%, #f0e6dc 100%);
    border: 1px solid rgba(196, 132, 110, 0.4);
}

.app-icon--igitabo::after {
    content: "♪";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: var(--ember);
}

.app-icon--nyimbo {
    background: linear-gradient(145deg, #f8fcf9 0%, #e2ede6 100%);
    border: 1px solid rgba(90, 143, 114, 0.4);
}

.app-icon--nyimbo::after {
    content: "♫";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: var(--sage);
}

/* Real app icons — override CSS placeholders above */
.app-icon.app-icon--image {
    background: transparent;
    border: none;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.1),
        0 16px 40px rgba(0, 0, 0, 0.14);
}

.app-icon.app-icon--image::after {
    content: none;
    display: none;
}

.app-icon.app-icon--image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.75rem;
    gap: 0.5rem;
}

.app-locale {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.app-card h3 {
    font-size: 1.5rem;
}

.app-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.0625rem;
    color: var(--text-muted);
}

.app-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    flex: 1;
}

/* Scripture */
.scripture {
    padding: 80px 0;
}

.scripture-inner {
    text-align: center;
    max-width: 640px;
    margin-inline: auto;
}

.scripture blockquote p {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-style: italic;
    line-height: 1.5;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.scripture footer {
    font-size: 0.875rem;
    color: var(--green-dark);
    letter-spacing: 0.08em;
}

/* About */
.about-section {
    padding: 120px 0;
    border-top: 1px solid var(--border);
}

.about-grid {
    display: grid;
    gap: 4rem;
    align-items: start;
}

@media (min-width: 800px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.3s;
}

.feature:hover {
    border-color: var(--border-hover);
}

.feature-icon {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--green);
    opacity: 0.85;
    flex-shrink: 0;
}

.feature h3 {
    font-size: 1.125rem;
    font-family: var(--font-body);
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.feature p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* Contact */
.contact-section {
    padding: calc(var(--header-h) + var(--header-offset) + 48px) 0 120px;
    background: transparent;
}

.contact-grid {
    display: grid;
    gap: 4rem;
}

@media (min-width: 800px) {
    .contact-grid {
        grid-template-columns: 1fr 1.1fr;
        gap: 5rem;
        align-items: start;
    }
}

.contact-intro p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.contact-email {
    font-family: var(--font-display);
    font-size: 1.375rem;
    color: var(--green-dark);
    transition: opacity 0.25s;
    display: inline-block;
    margin-bottom: 1.25rem;
}

.contact-email:hover {
    opacity: 0.8;
}

.contact-intro {
    padding: 2rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-xl);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.form-row label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    letter-spacing: 0.04em;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: var(--text-dim);
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(90, 154, 114, 0.55);
    box-shadow: 0 0 0 4px var(--green-soft), inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

.form-alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
}

.form-alert--success {
    background: var(--green-soft);
    border: 1px solid rgba(107, 159, 126, 0.35);
    color: var(--green-dark);
}

.form-alert--error {
    background: rgba(200, 90, 90, 0.1);
    border: 1px solid rgba(180, 80, 80, 0.3);
    color: #9e4545;
}

/* Footer */
.site-footer {
    padding: 2rem 0 1.5rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border);
    background: transparent;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-top {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.footer-tagline {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-dim);
    max-width: 22ch;
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--green-dark);
}

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.625rem;
}

@media (min-width: 768px) {
    .footer-meta {
        align-items: flex-end;
        flex-shrink: 0;
    }
}

.footer-email {
    font-size: 0.8125rem;
    color: var(--text-muted);
    transition: color 0.2s;
    word-break: break-all;
}

.footer-email:hover {
    color: var(--green-dark);
}

/* Social links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--text-muted);
    transition: color 0.25s;
}

.social-links a:hover {
    color: var(--green-dark);
}

.social-icon {
    flex-shrink: 0;
    opacity: 0.85;
}

.social-links--compact {
    flex-direction: row;
    gap: 0.5rem;
}

.social-links--compact a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    color: var(--text-muted);
    transition: color 0.2s, background 0.2s;
}

.social-links--compact a:hover {
    color: var(--green-dark);
    background: rgba(45, 74, 62, 0.08);
}

.social-links--compact .social-icon {
    width: 18px;
    height: 18px;
}

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

.contact-intro .social-links {
    margin-top: 0.25rem;
}

.footer-bottom {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.02em;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal--scale {
    transform: translateY(20px) scale(0.97);
}

.reveal--scale.is-visible {
    transform: translateY(0) scale(1);
}

.reveal--soft {
    transform: translateY(16px);
    filter: blur(6px);
    transition-duration: 1s;
}

.reveal--soft.is-visible {
    filter: blur(0);
}

.reveal--series {
    transform: translateY(28px);
    transition-duration: 0.95s;
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.14s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.23s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.41s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(n+6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

/* Mobile nav */
@media (max-width: 768px) {
    .site-header {
        border-radius: 16px;
        width: calc(100% - 20px);
    }

    .header-inner {
        padding-inline: 0.5rem 0.625rem;
    }

    .site-nav--bar {
        grid-template-columns: auto 1fr auto;
        gap: 0.5rem;
    }

    .site-nav--bar .nav-toggle {
        display: flex;
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        align-self: center;
    }

    .site-nav--bar .site-nav__brand {
        grid-column: 1;
        grid-row: 1;
    }

    .site-nav--bar .site-nav__panel {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .hero-nav-wrap {
        width: 100%;
    }

    .site-nav--hero {
        position: relative;
        padding-right: 52px;
    }

    .site-nav--hero .nav-toggle {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 98;
        background: rgba(28, 28, 30, 0.28);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.35s var(--ease-out);
    }

    .nav-backdrop.is-visible {
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav__panel {
        position: fixed;
        top: calc(var(--header-h) + var(--header-offset) + 10px);
        left: 12px;
        right: 12px;
        z-index: 101;
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        padding: 1.5rem;
        border-radius: var(--radius-lg);
        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(48px) saturate(200%);
        -webkit-backdrop-filter: blur(48px) saturate(200%);
        border: 1px solid rgba(255, 255, 255, 0.95);
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.14), var(--glass-highlight);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px) scale(0.98);
        transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s;
        pointer-events: none;
    }

    .site-nav.is-open .site-nav__panel {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .page-home .site-nav--hero .site-nav__panel {
        position: fixed;
        top: max(5.5rem, 14vh);
    }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        border-radius: 0;
    }

    .site-nav__list a {
        font-size: 1.125rem;
        padding: 0.75rem 1rem;
        border-radius: var(--radius-sm);
        text-align: left;
        flex: none;
        min-width: 0;
    }

    .site-nav__list a.is-active {
        background: var(--green-soft);
        box-shadow: none;
    }

    .site-nav__list a:hover {
        background: rgba(28, 28, 30, 0.05);
    }

    .site-nav__item--has-submenu {
        display: block;
    }

    .site-nav__item--has-submenu > .site-nav__trigger {
        display: block;
        width: 100%;
    }

    .site-nav__submenu {
        position: static;
        margin-top: 0.4rem;
        margin-left: 0.75rem;
        min-width: 0;
        border: none;
        border-left: 2px solid rgba(28, 28, 30, 0.1);
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        padding: 0 0 0 0.7rem;
    }

    .site-nav__item--has-submenu.is-open .site-nav__submenu {
        display: block;
    }

    .site-nav__submenu a {
        font-size: 0.95rem;
        padding: 0.45rem 0.5rem;
    }

    .site-nav__actions {
        display: flex;
    }

    .site-nav__cta {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .hero-scroll {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal,
    .reveal--scale,
    .reveal--soft,
    .reveal--series,
    .reveal-stagger > * {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
    .home-ambient__orb {
        animation: none;
    }
    .home-app-teaser-item:hover,
    .home-reflections__card:hover {
        transform: none;
    }
    .scroll-dot { animation: none; }
    .btn:hover,
    .btn:active { transform: none; }
    .app-card:hover { transform: none; }
}

.app-card h3 a {
    color: inherit;
    transition: color 0.25s;
}

.app-card h3 a:hover {
    color: var(--green-dark);
}

.app-card-link {
    display: block;
    color: inherit;
}

.app-card-link:hover + .app-card-body,
.app-card:has(.app-card-link:hover) {
    border-color: rgba(107, 159, 126, 0.3);
}

/* ==========================================================================
   App card actions (homepage)
   ========================================================================== */

.app-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: auto;
}

.app-card-actions .btn--store {
    margin-top: 0;
    flex: 1;
    min-width: 120px;
}

.btn--store-outline {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--text-muted);
}

.btn--store-outline:hover {
    background: rgba(255, 255, 255, 0.45);
    color: var(--green-dark);
}

/* ==========================================================================
   App detail pages
   ========================================================================== */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 2rem;
    transition: color 0.25s;
}

.back-link:hover {
    color: var(--green-dark);
}

.app-detail-hero {
    padding: calc(var(--header-h) + var(--header-offset) + 48px) 0 80px;
    background: transparent;
    border-bottom: none;
}

.app-detail-intro {
    display: grid;
    gap: 2.5rem;
    align-items: start;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
}

@media (min-width: 768px) {
    .app-detail-intro {
        grid-template-columns: auto 1fr;
        gap: 3rem;
    }
}

.app-icon--lg {
    width: 112px;
    height: 112px;
    border-radius: 28px;
}

.app-detail-copy h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    margin-bottom: 0.5rem;
}

.app-detail-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--green-dark);
    margin-bottom: 1rem;
}

.app-detail-desc {
    color: var(--text-muted);
    font-size: 1.0625rem;
    max-width: 56ch;
    margin-bottom: 2rem;
}

.app-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
}

.app-detail-actions--center {
    justify-content: center;
}

.app-screenshots {
    padding: 100px 0;
}

.section-header--left {
    text-align: left;
    margin-bottom: 2.5rem;
}

.section-header--left .section-lead {
    margin-inline: 0;
}

.screenshot-gallery {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--green) var(--beige-warm);
}

.screenshot-gallery::-webkit-scrollbar {
    height: 6px;
}

.screenshot-gallery::-webkit-scrollbar-track {
    background: var(--beige-warm);
    border-radius: 3px;
}

.screenshot-gallery::-webkit-scrollbar-thumb {
    background: var(--green);
    border-radius: 3px;
}

.screenshot-frame {
    flex: 0 0 auto;
    width: min(260px, 72vw);
    scroll-snap-align: start;
    margin: 0;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.screenshot-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.screenshot-note {
    margin-top: 1.5rem;
    font-size: 0.8125rem;
    color: var(--text-dim);
}

.screenshot-note code {
    font-size: 0.75rem;
    padding: 0.15rem 0.4rem;
    background: var(--beige-warm);
    border-radius: 4px;
    color: var(--green-dark);
}

.app-features {
    padding: 80px 0 100px;
    background: transparent;
    border-top: none;
}

.app-features-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .app-features-grid {
        grid-template-columns: 1fr 1.2fr;
        align-items: start;
    }
}

.app-features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    font-size: 0.9375rem;
    color: var(--text);
}

.feature-check {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--green);
    opacity: 0.7;
}

.app-detail-cta {
    padding: 80px 0 120px;
    text-align: center;
    background: transparent;
}

.app-detail-cta-inner {
    padding: 3rem 2rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid rgba(255, 255, 255, 0.68);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.app-detail-cta-inner h2 {
    margin-bottom: 0.75rem;
}

.app-detail-cta-inner p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* ==========================================================================
   Legal / privacy pages
   ========================================================================== */

.page-hero {
    padding: calc(var(--header-h) + var(--header-offset) + 48px) 0 64px;
    background: transparent;
    border-bottom: none;
}

.page-hero-inner {
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.page-hero--compact h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 0.75rem;
}

.page-lead {
    color: var(--text-muted);
    font-size: 1.0625rem;
}

.legal-content {
    padding: 64px 0 120px;
}

.legal-body {
    max-width: 680px;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid rgba(255, 255, 255, 0.68);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--green-dark);
}

.legal-section p {
    color: var(--text-muted);
    line-height: 1.75;
}

.legal-contact {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

.legal-contact a {
    color: var(--green-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-contact a:hover {
    opacity: 0.8;
}

/* ==========================================================================
   Journal — blog & social archive
   ========================================================================== */

.journal-page-hero .journal-instagram-btn {
    margin-top: 1rem;
}

.journal-section {
    padding: 0 0 100px;
}

.journal-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.journal-filter {
    padding: 0.5rem 1.125rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.65);
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.journal-filter:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.6);
}

.journal-filter.is-active {
    color: #fff;
    background: rgba(90, 154, 114, 0.85);
    border-color: rgba(90, 154, 114, 0.5);
}

.journal-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem 1rem;
}

.journal-empty code {
    font-size: 0.8125rem;
    background: rgba(255, 255, 255, 0.5);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.journal-grid {
    display: grid;
    gap: 1.5rem;
}

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

@media (min-width: 960px) {
    .journal-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.journal-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}

.journal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1), var(--glass-highlight);
}

.journal-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.journal-card-cover {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
}

.journal-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.journal-card-cover--text {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--green-soft) 0%, rgba(232, 223, 208, 0.5) 100%);
}

.journal-card-type {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--green-dark);
}

.journal-card-count {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 100px;
}

.journal-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.35rem;
}

.journal-card-body time {
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
}

.journal-card-body h2 {
    font-size: 1.25rem;
    font-family: var(--font-display);
    line-height: 1.25;
    margin-bottom: 0.25rem;
}

.journal-card-body p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    flex: 1;
    line-height: 1.55;
}

.journal-card-more {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--green-dark);
    margin-top: 0.5rem;
}

/* Single post */
.journal-post-header {
    padding: calc(var(--header-h) + var(--header-offset) + 24px) 0 48px;
}

.journal-post-header-inner {
    max-width: 720px;
}

.journal-post-type {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-dark);
    margin-bottom: 0.5rem;
}

.journal-post-header time {
    display: block;
    font-size: 0.875rem;
    color: var(--text-dim);
    margin-bottom: 0.75rem;
}

.journal-post-header h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}

.journal-post-lead {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.journal-post-content {
    padding-bottom: 100px;
    max-width: 800px;
}

.journal-post-body {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-muted);
}

.journal-post-body p {
    margin-bottom: 1.25rem;
}

.journal-post-body h2 {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    font-weight: 600;
    color: var(--text);
    margin: 2rem 0 0.75rem;
    line-height: 1.25;
}

.journal-post-body blockquote {
    margin: 0 0 1.75rem;
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--green-dark);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background: rgba(45, 74, 62, 0.06);
}

.journal-post-body blockquote p {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
}

.journal-post-body ul {
    margin: 0 0 1.5rem;
    padding-left: 1.25rem;
    color: var(--text-muted);
}

.journal-post-body li {
    margin-bottom: 0.5rem;
    line-height: 1.65;
}

.journal-post-body li::marker {
    color: var(--green-dark);
}

.journal-gallery {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

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

.journal-gallery-item {
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: var(--glass-shadow);
    position: relative;
}

.blog-gallery-open {
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
}

.journal-gallery-item img {
    display: block;
    width: 100%;
    height: auto;
}

.journal-gallery-item figcaption {
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
}

.journal-gallery-download {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2;
    transition: background 0.2s, transform 0.2s var(--ease-spring);
}

.journal-gallery-download:hover {
    background: rgba(0, 0, 0, 0.6);
}

.journal-gallery-download:active {
    transform: scale(0.94);
}

.journal-post-cover {
    margin-top: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.journal-post-cover img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Blog redesign
   ========================================================================== */

.blog-page-hero .blog-instagram-btn {
    margin-top: 1rem;
}

.blog-section {
    padding: calc(var(--header-h) + var(--header-offset) + 36px) 0 100px;
}

.blog-page-header {
    margin-bottom: 2rem;
    max-width: 42rem;
}

.blog-page-header h1 {
    margin: 0.35rem 0 0.5rem;
    font-size: clamp(2rem, 4vw, 2.75rem);
}

.blog-page-lead {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 40ch;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.blog-filter {
    padding: 0.5rem 1.125rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.65);
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.blog-filter:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.6);
}

.blog-filter.is-active {
    color: #fff;
    background: rgba(90, 154, 114, 0.85);
    border-color: rgba(90, 154, 114, 0.5);
}

.blog-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem 1rem;
}

.blog-feature-card {
    margin-bottom: 1.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
}

.blog-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.09), var(--glass-highlight);
}

.blog-feature-link {
    display: flex;
    flex-direction: column;
    color: inherit;
}

@media (min-width: 720px) {
    .blog-feature-link {
        flex-direction: row;
        align-items: stretch;
        min-height: 0;
    }
}

.blog-feature-media {
    flex-shrink: 0;
    overflow: hidden;
    background: var(--green-soft);
}

@media (max-width: 719px) {
    .blog-feature-media {
        aspect-ratio: 2 / 1;
        max-height: 200px;
    }
}

@media (min-width: 720px) {
    .blog-feature-media {
        width: 200px;
        aspect-ratio: 4 / 5;
    }
}

.blog-feature-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 160px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--green-dark);
    background: linear-gradient(135deg, var(--green-soft) 0%, rgba(232, 223, 208, 0.5) 100%);
}

.blog-feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.45rem;
    padding: 1.15rem 1.25rem 1.3rem;
    min-width: 0;
    flex: 1;
}

@media (min-width: 720px) {
    .blog-feature-copy {
        padding: 1.25rem 1.5rem;
    }
}

.blog-feature-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
}

.blog-feature-meta time {
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
}

.blog-feature-copy h2 {
    font-size: clamp(1.125rem, 1.8vw, 1.4rem);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-feature-copy p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-feature-copy .blog-read-more {
    margin-top: 0.35rem;
    font-size: 0.8125rem;
}

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

@media (min-width: 700px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1080px) {
    .blog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.blog-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1), var(--glass-highlight);
}

.blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.blog-card-cover {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
}

.blog-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-count {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 100px;
}

.blog-card-body {
    padding: 1.15rem 1.3rem 1.35rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.5rem;
}

.blog-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--green-dark);
    background: rgba(90, 154, 114, 0.16);
}

.blog-series-meta {
    font-size: 0.76rem;
    color: var(--text-dim);
    font-weight: 500;
}

.blog-card-body time {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.blog-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    line-height: 1.3;
}

.blog-card-body p {
    color: var(--text-muted);
    line-height: 1.55;
    flex: 1;
}

.blog-read-more {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--green-dark);
}

.blog-post-header .journal-post-header-inner {
    max-width: 760px;
}

.blog-series-meta--header {
    margin: 0.2rem 0 0.5rem;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 11, 0.82);
    backdrop-filter: blur(6px) saturate(110%);
    -webkit-backdrop-filter: blur(6px) saturate(110%);
}

.lightbox__panel {
    position: relative;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    display: block;
}

.lightbox__toolbar {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: min(94vw, 1120px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox__btn {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 999px;
    padding: 0.36rem 0.68rem;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s var(--ease-spring);
    text-decoration: none;
}

.lightbox__btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox__btn:active {
    transform: scale(0.97);
}

.lightbox__btn--close {
    margin-left: auto;
}

.lightbox__viewport {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: auto;
    display: grid;
    place-items: center;
    padding: 60px 16px 16px;
}

.lightbox__image {
    max-width: 100%;
    max-height: calc(100vh - 90px);
    width: auto;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

@media (max-width: 700px) {
    .lightbox__toolbar {
        top: 10px;
        width: calc(100vw - 16px);
    }

    .lightbox__btn {
        font-size: 0.75rem;
        padding: 0.32rem 0.55rem;
    }
}

.blog-post-cover {
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.blog-post-cover img {
    display: block;
    width: 100%;
    height: auto;
}

.blog-post-body {
    background: rgba(255, 255, 255, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: var(--radius-md);
    padding: 1.4rem 1.3rem;
}

@media (min-width: 800px) {
    .blog-post-body {
        padding: 2rem 2.1rem;
    }
}

/* ==========================================================================
   Home page redesign
   ========================================================================== */

.home-premium-hero {
    position: relative;
    padding: calc(var(--header-h) + var(--header-offset) + 48px) 0 56px;
    overflow: visible;
}

.home-premium-inner {
    display: grid;
    gap: 2rem;
}

.home-premium-copy {
    max-width: 760px;
    margin: 0.8rem auto 0;
    text-align: center;
}

.home-premium-copy h1 {
    font-size: clamp(2rem, 4.8vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.home-premium-copy p {
    font-size: 1.02rem;
    color: var(--text-muted);
    max-width: 62ch;
    margin: 0 auto;
}

.home-premium-actions {
    margin-top: 1.35rem;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.home-content-map {
    display: grid;
    gap: 1rem;
}

.home-map-card {
    padding: 1.1rem 1.2rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.44);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    color: inherit;
    transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
}

.home-map-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08), var(--glass-highlight);
}

.home-map-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-dim);
    margin-bottom: 0.45rem;
}

.home-map-card h2 {
    font-size: 1.3rem;
    margin-bottom: 0.38rem;
}

.home-map-card p {
    color: var(--text-muted);
    line-height: 1.5;
}

.home-apps,
.home-blog-strip,
.home-about-preview,
.home-contact-banner {
    padding: 0 0 72px;
}

.home-apps .apps-grid--featured {
    gap: 1.25rem;
}

/* Home — layout, motion, polish */
.page-home #main {
    position: relative;
    overflow: hidden;
}

.page-home .home-section {
    position: relative;
    z-index: 1;
}

.home-ambient {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.home-ambient__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    animation: home-orb-float 14s ease-in-out infinite;
}

.home-ambient__orb--1 {
    width: min(420px, 55vw);
    height: min(420px, 55vw);
    top: 8%;
    left: -8%;
    background: rgba(90, 154, 114, 0.35);
    animation-duration: 16s;
}

.home-ambient__orb--2 {
    width: min(320px, 42vw);
    height: min(320px, 42vw);
    top: 42%;
    right: -6%;
    background: rgba(196, 132, 110, 0.28);
    animation-delay: -4s;
    animation-duration: 18s;
}

.home-ambient__orb--3 {
    width: min(280px, 38vw);
    height: min(280px, 38vw);
    bottom: 12%;
    left: 28%;
    background: rgba(120, 170, 200, 0.22);
    animation-delay: -8s;
    animation-duration: 20s;
}

@keyframes home-orb-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(18px, -22px) scale(1.06);
    }
    66% {
        transform: translate(-14px, 12px) scale(0.96);
    }
}

.home-section-head {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 1.75rem;
}

.home-section-head .eyebrow {
    margin-bottom: 0.5rem;
}

.home-section-head__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.2vw, 2.125rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text);
}

.page-home .home-section:first-of-type:not(.home-scripture) {
    padding-top: calc(var(--header-h) + var(--header-offset) + 40px);
}

/* Home — reflections */
.home-reflections {
    padding: 0 0 64px;
}

.home-reflections__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.home-reflections__head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3vw, 2.125rem);
    font-weight: 600;
    line-height: 1.15;
    margin: 0;
}

.home-reflections__all {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--green-dark);
    transition: gap 0.25s var(--ease-spring), color 0.2s;
}

.home-reflections__all:hover {
    gap: 0.5rem;
    color: var(--text);
}

.home-reflections__card {
    display: grid;
    gap: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    color: inherit;
    transition: transform 0.4s var(--ease-spring), box-shadow 0.35s, border-color 0.3s;
}

.home-reflections__card:hover {
    transform: translateY(-3px);
    border-color: rgba(90, 154, 114, 0.32);
    box-shadow: 0 16px 40px rgba(45, 74, 62, 0.1), var(--glass-highlight);
}

@media (min-width: 720px) {
    .home-reflections__card {
        grid-template-columns: minmax(200px, 34%) 1fr;
        align-items: stretch;
    }
}

.home-reflections__cover {
    position: relative;
    aspect-ratio: 4 / 5;
    max-height: 220px;
    overflow: hidden;
    background: var(--green-soft);
}

@media (min-width: 720px) {
    .home-reflections__cover {
        max-height: none;
        min-height: 100%;
        aspect-ratio: auto;
    }
}

.home-reflections__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
    transition: transform 0.55s var(--ease-out);
}

.home-reflections__card:hover .home-reflections__cover img {
    transform: scale(1.04);
}

.home-reflections__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.35rem 1.5rem 1.45rem;
    min-width: 0;
}

.home-reflections__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin: 0;
}

.home-reflections__badge {
    display: inline-flex;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-dark);
    background: rgba(90, 154, 114, 0.14);
}

.home-reflections__meta time {
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.03em;
}

.home-reflections__copy h3 {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
}

.home-reflections__excerpt {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-reflections__read {
    display: inline-flex;
    align-items: center;
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--green-dark);
}

.home-reflections__read::after {
    content: "→";
    margin-left: 0.35rem;
    transition: transform 0.25s var(--ease-spring);
}

.home-reflections__card:hover .home-reflections__read::after {
    transform: translateX(3px);
}

.home-reflections__empty {
    margin: 0 0 0.75rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.home-reflections__more a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--green-dark);
}

.home-app-teaser {
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 768px) {
    .home-app-teaser {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

.home-app-teaser-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem 0.65rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    color: inherit;
    transition:
        transform 0.4s var(--ease-spring),
        box-shadow 0.35s,
        border-color 0.3s,
        background 0.3s;
}

.home-app-teaser-item:hover {
    transform: translateY(-5px);
    border-color: rgba(90, 154, 114, 0.4);
    box-shadow: 0 16px 36px rgba(45, 74, 62, 0.1), var(--glass-highlight);
    background: rgba(255, 255, 255, 0.58);
}

.home-app-teaser-item:hover .app-icon--sm {
    transform: scale(1.06) translateY(-2px);
}

.home-app-teaser-item:hover .home-app-teaser-item__arrow {
    opacity: 1;
    transform: translateX(4px);
}

.home-app-teaser-item--gold:hover { border-color: rgba(90, 154, 114, 0.45); }
.home-app-teaser-item--ember:hover { border-color: rgba(196, 132, 110, 0.45); }
.home-app-teaser-item--sage:hover { border-color: rgba(90, 143, 114, 0.45); }

.home-app-teaser-item .app-icon--sm {
    transition: transform 0.4s var(--ease-spring);
}

.home-app-teaser-item__copy {
    min-width: 0;
}

.home-app-teaser-item h3 {
    font-size: 1rem;
    margin-bottom: 0.15rem;
    line-height: 1.25;
}

.home-app-teaser-item p {
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.45;
}

.home-app-teaser-item__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-dark);
    opacity: 0.35;
    transition: opacity 0.3s, transform 0.35s var(--ease-spring);
}

@media (max-width: 767px) {
    .home-app-teaser-item__arrow {
        display: none;
    }
}

.app-icon--sm {
    width: 54px;
    height: 54px;
    border-radius: 14px;
}

.home-visual-series {
    padding: 2.5rem 0 56px;
}

.home-visual-series__grid {
    margin-bottom: 0;
}

.home-visual-series__grid .series-spotlight__copy p {
    display: none;
}

.home-visual-series__grid .blog-series-meta,
.home-visual-series__grid .blog-pill,
.home-visual-series__grid time,
.home-visual-series__grid .blog-read-more {
    display: none;
}

.home-visual-series__grid .series-spotlight__copy {
    gap: 0.35rem;
    text-align: center;
    align-items: center;
}

.home-visual-series__grid .series-spotlight__copy h3 {
    margin: 0;
}

.home-visual-series__grid .series-spotlight__media {
    min-height: 200px;
}

.home-visual-series__more {
    margin: 1.75rem 0 0;
    text-align: center;
}

.home-visual-series__more a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--green-dark);
    transition: gap 0.25s var(--ease-spring), color 0.2s;
}

.home-visual-series__more a:hover {
    gap: 0.55rem;
    color: var(--text);
}

/* Home — opening scripture banner */
.page-home .home-scripture.home-section {
    padding-top: calc(var(--header-h) + var(--header-offset) + 20px);
    padding-bottom: 2.5rem;
}

.home-scripture__banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    max-width: 34rem;
    margin-inline: auto;
    padding: 0.75rem 1.35rem 0.85rem;
    text-align: center;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 16px rgba(45, 74, 62, 0.05), var(--glass-highlight);
}

.home-scripture__quote {
    margin: 0;
}

.home-scripture__quote p {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(0.875rem, 1.65vw, 1rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text);
}

.home-scripture__ref {
    margin: 0;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--green-dark);
}

@media (min-width: 720px) {
    .home-scripture__banner {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.85rem;
        max-width: 40rem;
        padding: 0.65rem 1.5rem 0.7rem;
    }

    .home-scripture__quote {
        flex: 1 1 auto;
        min-width: 0;
        text-align: left;
    }

    .home-scripture__quote p {
        font-size: 0.9375rem;
    }

    .home-scripture__ref {
        flex-shrink: 0;
        padding-right: 0.85rem;
        border-right: 1px solid rgba(45, 74, 62, 0.15);
        text-align: left;
    }
}

/* Image series spotlight (home + blog) */
.series-spotlight {
    display: grid;
    gap: 1.5rem 2rem;
    overflow: visible;
}

.series-spotlight__link {
    display: grid;
    gap: 1.5rem 2rem;
    align-items: center;
    color: inherit;
}

.series-spotlight__media {
    min-height: 300px;
    display: grid;
    place-items: center;
    padding: 0;
    overflow: visible;
}

.series-spotlight__copy {
    padding: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.series-spotlight__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.series-spotlight:not(.series-spotlight--blog) .series-spotlight__copy {
    gap: 0.4rem;
    align-items: flex-start;
}

.series-spotlight:not(.series-spotlight--blog) .series-spotlight__copy .eyebrow {
    margin-bottom: 0;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
}

.series-spotlight:not(.series-spotlight--blog) .series-spotlight__copy h2 {
    margin: 0;
    font-size: clamp(1.65rem, 3.2vw, 2.15rem);
    line-height: 1.1;
}

.series-spotlight:not(.series-spotlight--blog) .series-spotlight__copy > p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.45;
    max-width: 36ch;
}

.series-spotlight:not(.series-spotlight--blog) .series-spotlight__actions {
    margin-top: 0.65rem;
}

.series-spotlight:not(.series-spotlight--blog) .series-spotlight__media {
    min-height: 220px;
}

.home-visual-series__grid .media-photo-stack--fan {
    width: min(100%, 280px);
    margin-inline: auto;
}

.series-spotlight__copy time {
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
}

.series-spotlight__copy h2 {
    font-size: clamp(1.6rem, 2.2vw, 2.1rem);
    line-height: 1.15;
}

.series-spotlight__copy h3 {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.2;
}

.series-spotlight__copy p {
    color: var(--text-muted);
    line-height: 1.6;
}

.blog-series-grid {
    display: grid;
    gap: 2rem 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 700px) {
    .blog-series-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1080px) {
    .blog-series-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .blog-series-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.blog-series-grid--after-feature {
    margin-top: 2.5rem;
}

.blog-series-grid .series-spotlight__link {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.blog-series-grid .series-spotlight__media {
    order: 1;
    min-height: 220px;
}

.blog-series-grid .series-spotlight__copy {
    order: 2;
}

.blog-series-grid .series-spotlight__copy h3 {
    font-size: clamp(1.15rem, 1.8vw, 1.35rem);
}

.blog-series-grid .series-spotlight__copy p {
    font-size: 0.92rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-series-grid .media-photo-stack--fan {
    width: min(100%, 280px);
    min-height: 200px;
    padding: 0.75rem;
}

.blog-grid--after-series {
    margin-top: 2.5rem;
}

.blog-feature-cover-img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center 18%;
    display: block;
}

/* Stacked photo collage */
.media-photo-stack {
    position: relative;
    max-width: 100%;
    margin-inline: auto;
    isolation: isolate;
}

/* Home featured series — portrait stack + hover fan-out */
.media-photo-stack--fan {
    width: min(100%, 360px);
    aspect-ratio: 1 / 1;
    min-height: 260px;
    padding: 1.25rem;
}

.media-photo-stack--fan .media-stack-photo {
    position: absolute;
    width: 54%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
    background: #fff;
    transform-origin: center center;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.media-photo-stack--fan .media-stack-photo--1 {
    top: 10%;
    left: 8%;
    transform: rotate(-9deg);
    z-index: 1;
}

.media-photo-stack--fan .media-stack-photo--2 {
    top: 4%;
    left: 24%;
    transform: rotate(5deg);
    z-index: 2;
}

.media-photo-stack--fan .media-stack-photo--3 {
    top: 14%;
    left: 38%;
    transform: rotate(10deg);
    z-index: 3;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .media-photo-stack--fan:hover .media-stack-photo--1 {
        transform: translate(-14px, -10px) rotate(-12deg);
    }

    .media-photo-stack--fan:hover .media-stack-photo--2 {
        transform: translate(0, -4px) rotate(2deg);
    }

    .media-photo-stack--fan:hover .media-stack-photo--3 {
        transform: translate(14px, 10px) rotate(12deg);
    }
}

/* Blog featured — gallery stack (equal cards, BelPres-style rotation) */
.media-photo-stack--gallery {
    display: grid;
    place-items: center;
    width: min(100%, 420px);
    min-height: 240px;
    padding: 1rem 0.5rem 1.25rem;
}

.media-photo-stack--gallery .media-stack-frame {
    grid-area: 1 / 1;
    width: min(100%, 320px);
    aspect-ratio: 665 / 425;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
    transform-origin: center center;
}

.media-photo-stack--gallery .media-stack-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-photo-stack--gallery .media-stack-frame--1 {
    z-index: 3;
    transform: rotate(-12deg);
}

.media-photo-stack--gallery .media-stack-frame--2 {
    z-index: 2;
    transform: rotate(7deg);
}

.media-photo-stack--gallery .media-stack-frame--3 {
    z-index: 1;
    transform: rotate(-1deg);
}


.home-story-grid {
    display: grid;
    gap: 1rem;
}

.home-story-card {
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.home-story-card a {
    display: block;
    padding: 1.05rem 1.15rem 1.2rem;
    color: inherit;
}

.home-story-card h3 {
    margin: 0.55rem 0 0.45rem;
    font-size: 1.22rem;
}

.home-story-card p {
    color: var(--text-muted);
    line-height: 1.55;
}

.home-story-more {
    display: inline-block;
    margin-top: 0.7rem;
    color: var(--green-dark);
    font-weight: 600;
    font-size: 0.82rem;
}

.home-center-cta {
    margin-top: 1.4rem;
    text-align: center;
}

.home-about-grid {
    display: grid;
    gap: 1.3rem;
    align-items: center;
}

.home-about-copy h2 {
    margin-bottom: 0.65rem;
}

.home-about-copy p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.home-about-copy--teaser {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 1.3rem 1.2rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.68);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.home-contact-card {
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.44);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    padding: 1.3rem 1.25rem;
    display: grid;
    gap: 1rem;
    align-items: center;
}

.home-contact-card h2 {
    margin-bottom: 0.42rem;
}

.home-contact-card p {
    color: var(--text-muted);
}

@media (min-width: 720px) {
    .home-content-map {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-about-grid {
        grid-template-columns: 0.9fr 1.1fr;
    }
}

@media (max-width: 899px) {
    .series-spotlight,
    .series-spotlight__link {
        grid-template-columns: 1fr;
    }

    .series-spotlight__media {
        order: 1;
        min-height: 280px;
    }

    .series-spotlight:not(.series-spotlight--blog) .series-spotlight__media {
        min-height: 200px;
    }

    .series-spotlight__copy {
        order: 2;
    }

    .media-photo-stack--fan {
        min-height: 240px;
        padding: 1rem;
    }

    .media-photo-stack--gallery {
        min-height: 200px;
    }

    .media-photo-stack--gallery .media-stack-frame {
        width: min(100%, 280px);
    }
}

@media (min-width: 1000px) {
    .home-app-teaser {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .series-spotlight:not(.series-spotlight--blog) {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        gap: clamp(1.25rem, 3vw, 2.5rem);
    }

    .series-spotlight:not(.series-spotlight--blog) .series-spotlight__copy {
        flex: 0 1 26rem;
    }

    .series-spotlight:not(.series-spotlight--blog) .series-spotlight__media {
        flex: 0 0 auto;
        width: auto;
        min-width: 0;
    }

    .home-contact-card {
        grid-template-columns: 1fr auto;
        padding: 1.5rem 1.6rem;
    }
}

