/* tokens.css */
/* ==========================================================================
   FRIENDS ON THE ROAD — DESIGN TOKENS
   Brand authority: supplied palette in the product spec and logo asset.
   ========================================================================== */

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/inter-400.woff2") format("woff2");
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/assets/fonts/inter-600.woff2") format("woff2");
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/assets/fonts/inter-600.woff2") format("woff2");
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/assets/fonts/inter-600.woff2") format("woff2");
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/assets/fonts/poppins-700.woff2") format("woff2");
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/assets/fonts/poppins-700.woff2") format("woff2");
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("/assets/fonts/poppins-700.woff2") format("woff2");
}
@font-face {
    font-family: "Anton";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/anton-400.woff2") format("woff2");
}

:root {
    /* --- Brand colors ------------------------------------------------------ */
    --color-green-dark: #1E2B23;
    --color-olive:         #5A6B4A;
    --color-orange:        #D9782C;
    --color-tan:           #D2B48C;
    --color-cream:         #F5F2E8;
    --color-charcoal:      #2A2A2A;

    /* --- Derived: surfaces & text ------------------------------------------- */
    --surface:            #FCFAF4;
    --surface-raised:     #FFFFFF;
    --surface-muted:      #EFEAD9;
    --surface-deep:       var(--color-green-dark);
    --border:             #E3D8C7;
    --border-strong:      #D3C7A6;
    --text:               #222B22;
    --text-muted:         #68715F;
    --text-faint:         #98A08E;
    --text-on-deep:       #F5F2E8;
    --link:               var(--color-green-dark);
    --link-hover:         #14201A;

    /* --- Derived: interactive ------------------------------------------------- */
    --primary:            var(--color-orange);
    --primary-hover:      #C96A24;
    --primary-active:     #B55F20;
    --primary-text:       #FFFFFF;
    --secondary:          var(--color-olive);
    --secondary-hover:    #4C5B3E;
    --secondary-text:     #FFFFFF;
    --accent:             var(--color-green-dark);
    --accent-text:        #FFFFFF;

    --success:            #3E7C4F;
    --success-bg:         #E4F0E6;
    --warning:            #A8721B;
    --warning-bg:         #F7ECD7;
    --error:              #B3402F;
    --error-bg:           #F7E2DE;
    --info:               #3A6B8F;
    --info-bg:            #E1ECF3;

    --disabled-bg:        #E7E2D2;
    --disabled-text:      #A5AC9B;
    --overlay:            rgba(22, 30, 21, 0.58);

    /* --- Spacing ----------------------------------------------------------------- */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;

    /* --- Typography ---------------------------------------------------------------- */
    --font-display: "Poppins", "Segoe UI", "Trebuchet MS", Arial, sans-serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --font-code: ui-monospace, "Cascadia Code", Consolas, monospace;

    --fs-3xs: 0.7rem;
    --fs-2xs: 0.78rem;
    --fs-xs:  0.85rem;
    --fs-sm:  0.93rem;
    --fs-md:  1rem;
    --fs-lg:  1.125rem;
    --fs-xl:  1.3125rem;
    --fs-2xl: 1.625rem;
    --fs-3xl: 2.125rem;
    --fs-4xl: 2.75rem;
    --fs-5xl: 3.5rem;

    --lh-tight: 1.15;
    --lh-snug:  1.35;
    --lh-normal: 1.6;

    --tracking-tight: -0.02em;
    --tracking-wide: 0.06em;
    --tracking-wider: 0.14em;

    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-extrabold: 800;

    /* --- Radius ----------------------------------------------------------------------- */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --radius-pill: 999px;

    /* --- Shadows -------------------------------------------------------------------- */
    --shadow-xs: 0 1px 2px rgba(30, 43, 35, 0.06);
    --shadow-sm: 0 2px 6px rgba(30, 43, 35, 0.08);
    --shadow-md: 0 6px 18px rgba(30, 43, 35, 0.10);
    --shadow-lg: 0 14px 40px rgba(30, 43, 35, 0.16);
    --shadow-overlay: 0 20px 60px rgba(0, 0, 0, 0.35);

    /* --- Layout widths ------------------------------------------------------------------ */
    --content-narrow: 640px;
    --content:        720px;
    --content-wide:   1120px;

    /* --- Navigation sizing --------------------------------------------------------------- */
    --topbar-h: 56px;
    --bottomnav-h: 60px;
    --sidebar-w: 248px;
    --context-w: 320px;

    /* --- Mobile safe areas ------------------------------------------------------------------ */
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);

    /* --- Touch ---------------------------------------------------------------------------- */
    --touch-min: 44px;

    /* --- Z-index layers ---------------------------------------------------------------------- */
    --z-base: 0;
    --z-sticky: 10;
    --z-topbar: 30;
    --z-bottomnav: 40;
    --z-overlay: 90;
    --z-sheet: 100;
    --z-modal: 120;
    --z-toast: 300;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* reset.css */
/* ==========================================================================
   RESET — minimal modern reset
   ========================================================================== */

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

* {
    margin: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

button {
    background: none;
    border: 0;
    cursor: pointer;
}

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

ul, ol {
    list-style: none;
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

h1, h2, h3, h4, h5, h6 {
    font: inherit;
    line-height: var(--lh-tight);
}

:focus-visible {
    outline: 3px solid rgba(217, 120, 44, 0.55);
    outline-offset: 2px;
    border-radius: 4px;
}
/* base.css */
/* ==========================================================================
   BASE — typography and shared primitives
   ========================================================================== */

html {
    background: var(--color-cream);
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-md);
    line-height: var(--lh-normal);
    color: var(--text);
    background: var(--color-cream);
    min-height: 100vh;
    min-height: 100dvh;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* --- Typography ---------------------------------------------------------- */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--color-green-dark);
    letter-spacing: var(--tracking-tight);
}

h1 { font-size: var(--fs-3xl); font-weight: var(--weight-extrabold); }
h2 { font-size: var(--fs-2xl); font-weight: var(--weight-bold); }
h3 { font-size: var(--fs-xl);  font-weight: var(--weight-bold); }
h4 { font-size: var(--fs-lg);  font-weight: var(--weight-semibold); }

.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    font-weight: var(--weight-bold);
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--color-orange);
    margin-bottom: var(--space-3);
}

p {
    margin: 0;
}
p + p { margin-top: var(--space-3); }

a { color: var(--link); transition: color 0.15s ease; }
a:hover { color: var(--link-hover); }
.app-shell a { color: inherit; }
.app-shell a:hover { color: var(--primary); }

small { color: var(--text-muted); }

strong { font-weight: var(--weight-semibold); color: inherit; }

.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); }
.xs { font-size: var(--fs-xs); }
.xxs { font-size: var(--fs-2xs); }

/* --- Images -------------------------------------------------------------- */

.img-cover { object-fit: cover; width: 100%; height: 100%; }
img.lazy { background: var(--surface-muted); }
img.lazy.loaded { background: transparent; }

/* --- Layout containers ---------------------------------------------------- */

.container {
    width: 100%;
    max-width: var(--content-wide);
    margin-inline: auto;
    padding-inline: var(--space-4);
}
@media (min-width: 768px) {
    .container { padding-inline: var(--space-6); }
}

.container-narrow { max-width: var(--content-narrow); }
.container-md { max-width: var(--content); }

.section { padding-block: var(--space-8); }
.section-tight { padding-block: var(--space-6); }

/* --- Utility -------------------------------------------------------------- */

.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }

.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }

.flex-1 { flex: 1; }
.text-center { text-align: center; }
.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;
}

.sr-only-focusable:focus {
    position: absolute;
    width: auto; height: auto;
    clip: auto;
    padding: var(--space-3);
    background: var(--surface-raised);
    z-index: var(--z-toast);
}

/* --- Visually balanced page title ------------------------------------------ */

.page-title {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-4);
}
.page-sub {
    color: var(--text-muted);
    margin-bottom: var(--space-5);
}

/* --- Dividers -------------------------------------------------------------- */

.hairline {
    border: 0;
    border-top: 1px solid var(--border);
    margin: var(--space-4) 0;
}

/* --- User content (posts/comments) ----------------------------------------- */

.user-content {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: var(--lh-snug);
}
.user-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }

/* --- Focus states ----------------------------------------------------------- */

a, button, input, select, textarea, [tabindex] {
    -webkit-tap-highlight-color: transparent;
}

/* --- Prose (marketing/legal pages) ------------------------------------------ */

.prose {
    max-width: 44rem;
    margin-inline: auto;
    padding: var(--space-6) var(--space-4);
}
.prose h1 {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-3);
}
.prose .lede {
    color: var(--text-muted);
    font-size: var(--fs-lg);
}
.prose h2 {
    font-size: var(--fs-lg);
    margin-top: var(--space-6);
    margin-bottom: var(--space-2);
}
.prose p {
    margin-bottom: var(--space-3);
}
.prose ul {
    list-style: disc;
    padding-left: 1.4rem;
    margin-bottom: var(--space-3);
}
.prose li { margin-bottom: var(--space-1); }
.prose .updated {
    font-size: var(--fs-xs);
    color: var(--text-faint);
    margin-bottom: var(--space-4);
}
/* components.css */
/* ==========================================================================
   COMPONENTS — buttons, cards, avatars, badges, forms, sheets, toasts
   ========================================================================== */

/* --- Buttons -------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: var(--touch-min);
    padding: 0 var(--space-5);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-weight: var(--weight-semibold);
    font-size: var(--fs-sm);
    letter-spacing: 0.02em;
    border: 2px solid transparent;
    transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease,
                transform 0.05s ease, box-shadow 0.16s ease;
    user-select: none;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--primary);
    color: var(--primary-text);
}
.btn-primary:hover { background: var(--primary-hover); color: var(--primary-text); }
.btn-primary:active { background: var(--primary-active); }

.btn-secondary {
    background: var(--secondary);
    color: var(--secondary-text);
}
.btn-secondary:hover { background: var(--secondary-hover); color: var(--secondary-text); }

.btn-accent {
    background: var(--accent);
    color: var(--accent-text);
}
.btn-accent:hover { background: #16241B; color: var(--accent-text); }

.btn-outline {
    background: transparent;
    border-color: var(--border-strong);
    color: var(--color-green-dark);
}
.btn-outline:hover { border-color: var(--color-olive); color: var(--color-olive); background: var(--surface); }

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
}
.btn-ghost:hover { background: var(--surface-muted); color: var(--text); }

.btn-danger {
    background: var(--error);
    color: #fff;
}
.btn-danger:hover { background: #972c1f; color: #fff; }

.btn-sm {
    min-height: 36px;
    padding: 0 var(--space-4);
    font-size: var(--fs-xs);
}
.btn-lg {
    min-height: 52px;
    padding-inline: var(--space-6);
    font-size: var(--fs-md);
}
.btn-block { width: 100%; }

.btn:disabled, .btn[aria-disabled="true"] {
    background: var(--disabled-bg);
    color: var(--disabled-text);
    border-color: transparent;
    cursor: not-allowed;
    transform: none;
}

.btn .spinner { width: 16px; height: 16px; }

/* --- Icon buttons ------------------------------------------------------------ */

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--touch-min);
    height: var(--touch-min);
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    transition: background 0.15s ease, color 0.15s ease;
    position: relative;
}
.icon-btn:hover { background: var(--surface-muted); color: var(--text); }
.icon-btn svg { width: 22px; height: 22px; }

.icon-btn .badge-dot {
    position: absolute;
    top: 8px; right: 8px;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--surface);
}

/* --- Cards -------------------------------------------------------------------- */

.card {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
}

.card-pad { padding: var(--space-4); }
@media (min-width: 768px) {
    .card-pad { padding: var(--space-5); }
}

.card-section + .card-section { border-top: 1px solid var(--border); padding-top: var(--space-4); }

/* --- Avatar -------------------------------------------------------------------- */

.avatar {
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--color-olive), var(--color-green-dark));
    color: var(--text-on-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--surface-raised);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--xs { width: 28px; height: 28px; font-size: var(--fs-2xs); }
.avatar--sm { width: 36px; height: 36px; font-size: var(--fs-xs); }
.avatar--md { width: 44px; height: 44px; font-size: var(--fs-sm); }
.avatar--lg { width: 64px; height: 64px; font-size: var(--fs-xl); }
.avatar--xl { width: 96px; height: 96px; font-size: var(--fs-2xl); }

/* --- Interactive Avatar Cropper Widget ------------------------------------------- */

.avatar-picker-widget {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--surface-muted);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.avatar-cropper-stage {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--surface-raised);
    border: 3px solid var(--color-green-dark);
    box-shadow: var(--shadow-sm);
    cursor: grab;
    user-select: none;
    touch-action: none;
    flex-shrink: 0;
}
.avatar-cropper-stage:active {
    cursor: grabbing;
}
.avatar-cropper-stage img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    pointer-events: none;
    max-width: none;
    max-height: none;
}
.avatar-cropper-stage__hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: var(--fs-2xs);
    color: var(--text-muted);
    padding: var(--space-2);
    pointer-events: none;
}

.avatar-cropper-controls {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}
.avatar-cropper-controls input[type="range"] {
    flex: 1;
    accent-color: var(--color-orange);
}

/* --- Badges (brand/badge marks) --------------------------------------------------- */

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: var(--fs-2xs);
    font-weight: var(--weight-semibold);
    letter-spacing: 0.03em;
    background: var(--surface-muted);
    color: var(--color-olive);
    border: 1px solid transparent;
}
.badge-tag--founder {
    background: var(--color-green-dark);
    color: var(--color-tan);
}
.badge-tag--verified { background: var(--info-bg); color: var(--info); }
.badge-tag--host { background: var(--warning-bg); color: var(--warning); }
.badge-tag--orange { background: rgba(217,120,44,0.14); color: var(--color-orange); }
.badge-tag--origin { background: rgba(166,124,82,0.15); color: #8B6914; border: 1px solid rgba(139,105,20,0.25); }

/* --- Tags + chips -------------------------------------------------------------------- */

.tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: var(--surface-muted);
    color: var(--color-olive);
    font-size: var(--fs-2xs);
    font-weight: var(--weight-semibold);
}
.tag a { color: inherit; }
.tag a:hover { color: var(--color-orange); }

.chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-height: var(--touch-min);
    padding: 0 var(--space-4);
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--border);
    background: var(--surface-raised);
    color: var(--text);
    font-size: var(--fs-sm);
    font-weight: var(--weight-medium);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.chip:hover { border-color: var(--color-olive); color: var(--color-olive); }
.chip.chip--active {
    background: var(--color-green-dark);
    border-color: var(--color-green-dark);
    color: var(--text-on-deep);
}
.chip--filter { min-height: 38px; font-size: var(--fs-xs); }

/* --- Filterbar ---------------------------------------------------------------------- */

.filterbar {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 6px;
    margin-bottom: var(--space-4);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.filterbar::-webkit-scrollbar { display: none; }
.filterbar .chip { flex-shrink: 0; white-space: nowrap; }

/* --- Cards -------------------------------------------------------------------- */

.card {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    max-width: 100%;
    box-sizing: border-box;
}

/* --- Forms ------------------------------------------------------------------------- */

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-4); max-width: 100%; box-sizing: border-box; }

.label {
    font-size: var(--fs-xs);
    font-weight: var(--weight-semibold);
    color: var(--color-green-dark);
}
.label .req { color: var(--primary); }

.input, .textarea, .select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: var(--touch-min);
    padding: 0 var(--space-4);
    background: var(--surface-raised);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-md);
    font-size: var(--fs-md);
    color: var(--text);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input[type="file"] {
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
input[type="file"].input {
    padding: 6px 12px;
    min-height: var(--touch-min);
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
input[type="file"]::file-selector-button,
input[type="file"]::-webkit-file-upload-button {
    background: var(--color-green-dark);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 6px 16px;
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: var(--weight-semibold);
    margin-right: var(--space-3);
    cursor: pointer;
    transition: background 0.15s ease;
}
input[type="file"]::file-selector-button:hover,
input[type="file"]::-webkit-file-upload-button:hover {
    background: var(--color-olive);
}
.input:focus, .textarea:focus, .select:focus {
    outline: none;
    border-color: var(--color-olive);
    box-shadow: 0 0 0 3px rgba(90,107,74,0.18);
}
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }

.textarea {
    min-height: 120px;
    padding-block: var(--space-3);
    line-height: var(--lh-snug);
    resize: vertical;
}

.select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2368715F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 42px;
}

.form-error {
    color: var(--error);
    font-size: var(--fs-xs);
    margin-top: 4px;
}
.field-error .input, .field-error .textarea, .field-error .select {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(179,64,47,0.15);
}

.form-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: var(--space-5);
}

.hint { font-size: var(--fs-xs); color: var(--text-muted); }

/* --- Checkbox/radio ---------------------------------------------------------------- */

.check {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    cursor: pointer;
    font-size: var(--fs-sm);
    padding-block: var(--space-1);
}
.check input {
    width: 20px; height: 20px;
    accent-color: var(--color-olive);
}

/* --- Alerts ---------------------------------------------------------------------------- */

.alert {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
    line-height: var(--lh-snug);
}
.alert--success { background: var(--success-bg); color: #2B5C37; }
.alert--warning { background: var(--warning-bg); color: #7A5410; }
.alert--error { background: var(--error-bg); color: #7C2A1F; }
.alert--info { background: var(--info-bg); color: #274E6B; }

/* --- Empty states -------------------------------------------------------------------- */

.empty {
    padding: var(--space-8) var(--space-5);
    text-align: center;
    border: 1.5px dashed var(--border-strong);
    border-radius: var(--radius-lg);
    background: var(--surface);
}
.empty__icon {
    width: 56px; height: 56px;
    margin: 0 auto var(--space-4);
    border-radius: var(--radius-pill);
    background: var(--surface-muted);
    display: flex; align-items: center; justify-content: center;
    color: var(--color-olive);
}
.empty__icon svg { width: 26px; height: 26px; }
.empty h3 {
    margin-bottom: var(--space-2);
    background: transparent;
    color: var(--color-green-dark);
}
.empty p { color: var(--text-muted); max-width: 380px; margin-inline: auto; }

/* --- Skeleton loading ------------------------------------------------------------------ */

.skeleton {
    background: linear-gradient(90deg, var(--surface-muted) 25%, var(--surface-raised) 50%, var(--surface-muted) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: var(--radius-sm);
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* --- Bottom sheet ----------------------------------------------------------------------- */

.sheet-overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay);
    z-index: var(--z-overlay);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}
.sheet-overlay.open { opacity: 1; pointer-events: auto; }

.sheet {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: var(--z-sheet);
    background: var(--surface);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding-bottom: var(--safe-bottom);
    transform: translateY(105%);
    transition: transform 0.26s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 88dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.sheet.open { transform: translateY(0); }
@media (min-width: 768px) {
    .sheet {
        left: 50%;
        right: auto;
        width: min(520px, 100vw);
        transform: translate(-50%, 105%);
        border-radius: var(--radius-xl);
        bottom: auto;
        top: 50%;
        max-height: 88dvh;
    }
    .sheet.open { transform: translate(-50%, -50%); }
}

.sheet__handle {
    width: 44px; height: 5px;
    border-radius: var(--radius-pill);
    background: var(--border-strong);
    margin: var(--space-3) auto var(--space-1);
}
.sheet__title {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: var(--weight-bold);
    color: var(--color-green-dark);
    padding: var(--space-2) var(--space-5);
}
.sheet__body { padding: var(--space-2) var(--space-5) var(--space-6); }

/* --- Modal ---------------------------------------------------------------------------------- */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay);
    z-index: var(--z-overlay);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal {
    width: min(100%, 520px);
    max-height: 88dvh;
    overflow-y: auto;
    background: var(--surface-raised);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-overlay);
    transform: scale(0.96);
    transition: transform 0.2s ease;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: var(--surface-raised);
    z-index: 2;
}
.modal__title { font-family: var(--font-display); font-weight: var(--weight-bold); color: var(--color-green-dark); }
.modal__body { padding: var(--space-5); }
.modal__foot {
    padding: var(--space-4) var(--space-5);
    border-top: 1px solid var(--border);
}

/* --- Toast -------------------------------------------------------------------------------------- */

.toast-container {
    position: fixed;
    left: 50%;
    bottom: calc(var(--bottomnav-h) + var(--safe-bottom) + var(--space-4));
    transform: translateX(-50%);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    width: min(92vw, 380px);
    pointer-events: none;
}
@media (min-width: 768px) {
    .toast-container { bottom: var(--space-5); left: auto; right: var(--space-5); transform: none; }
}

.toast {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    background: var(--color-charcoal);
    color: #F2EFE4;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-size: var(--fs-sm);
    pointer-events: auto;
    animation: toast-in 0.25s cubic-bezier(0.32, 0.72, 0, 1);
}
.toast--success { border-left: 4px solid #7FC08E; }
.toast--error { border-left: 4px solid #E08A7A; }
.toast--info { border-left: 4px solid var(--color-tan); }
@keyframes toast-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Spinner ------------------------------------------------------------------------------------ */

.spinner {
    display: inline-block;
    width: 24px; height: 24px;
    border: 3px solid rgba(90,107,74,0.25);
    border-top-color: var(--color-olive);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Tabs ------------------------------------------------------------------------------------------- */

.tabs {
    display: flex;
    gap: var(--space-1);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
    min-height: var(--touch-min);
    padding: 0 var(--space-4);
    display: inline-flex;
    align-items: center;
    font-family: var(--font-display);
    font-weight: var(--weight-semibold);
    font-size: var(--fs-sm);
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    gap: var(--space-2);
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--color-green-dark); border-bottom-color: var(--color-orange); }

/* --- Toolbar row (filters) ----------------------------------------------------------------------------- */

.filterbar {
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    padding-bottom: var(--space-2);
    scrollbar-width: none;
}
.filterbar::-webkit-scrollbar { display: none; }

/* --- Stats/grids ------------------------------------------------------------------------------------------- */

.stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.stat__value { font-family: var(--font-display); font-weight: var(--weight-extrabold); font-size: var(--fs-xl); color: var(--color-green-dark); }
.stat__label { font-size: var(--fs-xs); color: var(--text-muted); }

/* --- Pagination ----------------------------------------------------------------------------------------------- */

.load-more {
    display: flex;
    justify-content: center;
    padding: var(--space-5);
}

/* --- Popover Menu (3-dots options menu) -------------------------------- */

.pop-menu {
    position: fixed !important;
    z-index: 1000 !important;
    display: none !important;
    pointer-events: none !important;
    background: var(--surface-raised);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 170px;
    padding: var(--space-1);
}
.pop-menu:not([hidden]) {
    display: block !important;
    pointer-events: auto !important;
}
.pop-menu button {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    width: 100%;
    padding: var(--space-2) var(--space-3);
    border: 0;
    background: transparent;
    font: inherit;
    font-size: var(--fs-sm);
    color: var(--text);
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.pop-menu button:hover { background: var(--surface-muted); color: var(--primary); }
.pop-menu button svg { width: 16px; height: 16px; flex-shrink: 0; }

/* --- Lightbox Modal ----------------------------------------------------------- */

dialog.lightbox-modal,
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    margin: 0;
    border: 0;
    padding: var(--space-4);
    background: rgba(15, 20, 17, 0.94);
    backdrop-filter: blur(8px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
dialog.lightbox-modal:not([open]),
.lightbox-modal:not([open]) {
    display: none !important;
}
dialog.lightbox-modal::backdrop {
    background: rgba(15, 20, 17, 0.94);
    backdrop-filter: blur(8px);
}
.lightbox-modal__content {
    position: relative;
    max-width: 92vw;
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-modal__img {
    max-width: 92vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    background: #000;
}
.lightbox-modal__close {
    position: absolute;
    top: -48px;
    right: 0;
    background: rgba(255,255,255,0.2);
    color: #FFF;
    border: 0;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.lightbox-modal__close:hover {
    background: var(--color-orange);
}
.lightbox-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: #FFF;
    border: 0;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}
.lightbox-modal__nav:hover {
    background: var(--color-orange);
}
.lightbox-modal__nav--prev { left: -56px; }
.lightbox-modal__nav--next { right: -56px; }
.lightbox-modal__nav[hidden],
.lightbox-modal__count[hidden] {
    display: none !important;
}
.lightbox-modal__count {
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .lightbox-modal__close { top: 12px; right: 12px; position: fixed; }
    .lightbox-modal__nav--prev { left: 12px; position: fixed; }
    .lightbox-modal__nav--next { right: 12px; position: fixed; }
    .lightbox-modal__count { bottom: 16px; position: fixed; }
}

/* --- Mention Tags & Autocomplete ------------------------------------------- */

.mention-tag,
a.mention-tag,
.user-content a.mention-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #FFF3E0 !important;
    color: #D9531E !important;
    font-weight: 600;
    font-size: 0.9em;
    border-radius: var(--radius-pill, 9999px);
    text-decoration: none !important;
    border: 1px solid #FFE0B2;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    line-height: 1.3;
    vertical-align: baseline;
}
.mention-tag:hover,
a.mention-tag:hover,
.user-content a.mention-tag:hover {
    background: #D9531E !important;
    color: #FFFFFF !important;
    border-color: #D9531E !important;
    text-decoration: none !important;
}
.mention-tag--everyone,
span.mention-tag--everyone {
    background: #1E2B23 !important;
    color: #F5F2E8 !important;
    border-color: #1E2B23;
}
.mention-tag--everyone:hover,
span.mention-tag--everyone:hover {
    background: #1E2B23 !important;
    color: #F5F2E8 !important;
    border-color: #1E2B23 !important;
}
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    z-index: 10000;
}
.mention-item {
    transition: background-color 0.12s ease;
}
/* layout.css */
/* ==========================================================================
   LAYOUT — public landing layout + authenticated app shell grids
   ========================================================================== */

/* --- Public layout --------------------------------------------------------- */

.public-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}
.public-main { flex: 1; }

/* --- Authenticated app shell ------------------------------------------------------ */

.app-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    min-height: 100dvh;
    background:
        radial-gradient(1200px 480px at 78% -60px, rgba(90, 107, 74, 0.10), transparent 65%),
        var(--color-cream);
    max-width: 100vw;
    overflow-x: hidden;
    width: 100%;
}

@media (min-width: 900px) {
    .app-shell {
        grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
        grid-template-rows: var(--topbar-h) 1fr;
        grid-template-areas:
            "sidebar topbar"
            "sidebar main";
        padding-top: var(--safe-top);
    }
}

.app-topbar {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
@media (min-width: 900px) {
    .app-topbar { grid-area: topbar; }
}

.app-main {
    grid-row: 2;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
@media (min-width: 900px) {
    .app-main { grid-area: main; }
}

/* Desktop three-column frame */
.app-frame {
    display: block;
}
@media (min-width: 1120px) {
    .app-frame {
        display: grid;
        grid-template-columns: minmax(0, 1fr) var(--context-w);
        gap: var(--space-5);
        width: min(calc(var(--content) + var(--context-w) + var(--space-5)*2), 1120px);
        margin-inline: auto;
        padding-block: var(--space-5);
        padding-inline: var(--space-5);
    }
}


/* --- Auth layout ---------------------------------------------------------------------- */

.auth-shell {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(rgba(30, 43, 35, 0.62), rgba(30, 43, 35, 0.72)),
        radial-gradient(900px 500px at 50% -10%, rgba(210, 180, 140, 0.35), transparent 60%);
}
.auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6) var(--space-4) var(--space-8);
}
.auth-card {
    width: min(100%, 430px);
    background: var(--surface-raised);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-6);
}
.auth-card h1 {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-1);
}
.auth-card .lead { color: var(--text-muted); font-size: var(--fs-sm); margin-bottom: var(--space-5); }

.auth-logo {
    display: block;
    margin: 0 auto var(--space-6);
    width: min(220px, 70%);
}

.auth-alt {
    text-align: center;
    margin-top: var(--space-5);
    font-size: var(--fs-sm);
    color: var(--text-muted);
}
.auth-alt a { font-weight: var(--weight-semibold); }

/* --- Admin layout (styled in admin.css) -------------------------------- */

/* --- Tables -------------------------------------------------------------------------------- */

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    width: 100%;
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    font-size: var(--fs-sm);
}
.table th, .table td {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.table th {
    background: var(--surface-muted);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-olive);
    font-weight: var(--weight-bold);
}
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--color-cream); }

/* --- Grids ------------------------------------------------------------------------------------- */

.grid { display: grid; gap: var(--space-4); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 600px) {
    .grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
/* navigation.css */
/* ==========================================================================
   NAVIGATION — public header, app topbar, bottom nav, desktop sidebar, footer
   ========================================================================== */

/* --- Public header ---------------------------------------------------------- */

.public-header {
    position: sticky;
    top: 0;
    z-index: var(--z-topbar);
    background: var(--color-green-dark);
    padding-top: var(--safe-top);
}
.public-header__in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    max-width: var(--content-wide);
    margin-inline: auto;
    padding: 10px var(--space-4);
    min-height: calc(var(--topbar-h) - var(--safe-top));
}
@media (min-width: 768px) {
    .public-header__in { padding-inline: var(--space-6); }
}

.public-header .site-logo { color: #fff; }
.public-header .site-logo:hover { color: #fff; opacity: 0.92; }

.public-nav { display: none; align-items: center; gap: var(--space-4); }
@media (min-width: 900px) {
    .public-nav { display: flex; }
}

.public-nav a {
    color: rgba(245, 242, 232, 0.8);
    font-weight: var(--weight-medium);
    font-size: var(--fs-sm);
    padding-block: var(--space-2);
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.public-nav a:hover { color: #fff; border-bottom-color: var(--color-tan); }

.public-header__actions { display: none; align-items: center; gap: var(--space-3); }
@media (min-width: 560px) {
    .public-header__actions { display: flex; }
    .public-header__join-mobile { display: none; }
}

.public-header__login {
    color: rgba(245,242,232,0.85);
    padding: var(--space-2) var(--space-3);
    font-weight: var(--weight-semibold);
    font-size: var(--fs-sm);
}
.public-header__login:hover { color: #fff; }

/* --- Hero nav (transparent header layered over the cinematic hero) ------------------ */

body.has-hero .public-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    background: transparent;
    box-shadow: none;
}
body.has-hero .public-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12,17,14,0.55), transparent 75%);
    pointer-events: none;
}
body.has-hero .public-header__in,
body.has-hero .public-header__in > * { position: relative; z-index: 1; }

body.has-hero .public-header .site-logo img { height: 42px; }

body.has-hero .public-nav { gap: 6px; }
body.has-hero .public-nav a {
    color: #F5F2E8;
    font-weight: var(--weight-semibold);
    font-size: var(--fs-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    border-bottom: 0;
    transition: background 0.15s ease, color 0.15s ease;
}
body.has-hero .public-nav a:hover {
    color: #fff;
    background: rgba(90, 107, 74, 0.55);
    border-bottom: 0;
}

body.has-hero .public-header__login--hero {
    color: #F5F2E8;
    border: 1px solid rgba(245, 242, 232, 0.4);
    border-radius: var(--radius-sm);
    padding: 9px 18px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: var(--fs-xs);
}
body.has-hero .public-header__login--hero:hover {
    color: #fff;
    border-color: #F5F2E8;
    background: rgba(245, 242, 232, 0.08);
}
body.has-hero .public-header__join--hero {
    background: var(--color-olive);
    border-color: var(--color-olive);
    color: #F5F2E8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: var(--weight-bold);
    padding: 9px 20px;
    border-radius: var(--radius-sm);
}
body.has-hero .public-header__join--hero:hover {
    background: #4C5C3E;
    border-color: #4C5C3E;
    color: #fff;
}

@media (max-width: 899px) {
    body.has-hero .public-header__in {
        padding-block: 14px;
        min-height: calc(64px - var(--safe-top));
    }
}

/* --- Mobile menu drawer -------------------------------------------------------- */

.drawer {
    position: fixed;
    inset: 0;
    z-index: var(--z-sheet);
    background: var(--color-green-dark);
    color: var(--text-on-deep);
    display: flex;
    flex-direction: column;
    padding: calc(var(--safe-top) + var(--space-5)) var(--space-5) calc(var(--safe-bottom) + var(--space-5));
    transform: translateX(105%);
    transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}
.drawer.open { transform: translateX(0); }
.drawer__close {
    align-self: flex-end;
    color: var(--text-on-deep);
    margin-bottom: var(--space-4);
}
.drawer a {
    color: var(--text-on-deep);
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: var(--weight-bold);
    padding-block: var(--space-3);
    border-bottom: 1px solid rgba(245,242,232,0.12);
}
.drawer a:hover { color: var(--color-tan); }
.drawer .btn { margin-top: var(--space-5); }

/* --- App topbar --------------------------------------------------------------------------- */

.app-topbar {
    position: sticky;
    top: 0;
    z-index: var(--z-topbar);
    background: var(--surface-raised);
    border-bottom: 1px solid var(--border);
    padding-top: var(--safe-top);
}
@media (min-width: 860px) {
    .app-topbar { display: none; }
}
.app-topbar__in {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    min-height: var(--topbar-h);
    padding-inline: var(--space-3);
    max-width: 1120px;
    margin-inline: auto;
}
@media (min-width: 900px) {
    .app-topbar__in { padding-inline: var(--space-5); }
}

.app-topbar .site-logo { color: var(--color-green-dark); }
.app-topbar__search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--surface-muted);
    border-radius: var(--radius-pill);
    padding: 0 var(--space-4);
    min-height: 40px;
    color: var(--text-muted);
    max-width: 420px;
    margin-inline: auto;
}
.app-topbar__search input {
    flex: 1;
    border: 0;
    background: transparent;
    min-height: 38px;
    font-size: var(--fs-sm);
}
.app-topbar__search input:focus { outline: none; }
.app-topbar__search svg { width: 18px; height: 18px; flex-shrink: 0; }

/* --- Bottom navigation ------------------------------------------------------------ */

.bottom-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: var(--z-bottomnav);
    background: var(--surface-raised);
    border-top: 1px solid var(--border);
    padding-bottom: var(--safe-bottom);
    display: flex;
}
@media (min-width: 900px) {
    .bottom-nav { display: none; }
}

.bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: var(--bottomnav-h);
    color: var(--text-muted);
    font-size: var(--fs-2xs);
    font-weight: var(--weight-medium);
    padding-top: 4px;
    border-top: 3px solid transparent;
    position: relative;
}
.bottom-nav__item svg { width: 24px; height: 24px; }
.bottom-nav__item.active { color: var(--color-green-dark); border-top-color: var(--color-orange); }
.bottom-nav__item .badge-dot {
    position: absolute;
    top: 8px;
    left: calc(50% + 6px);
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--surface-raised);
}

/* --- Desktop sidebar ------------------------------------------------------------ */

.sidebar {
    display: none;
    flex-direction: column;
    gap: var(--space-5);
    background: var(--color-green-dark);
    padding: var(--space-4) var(--space-3);
    overflow-y: auto;
}
@media (min-width: 900px) {
    .sidebar {
        grid-area: sidebar;
        display: flex;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: var(--sidebar-w) !important;
        height: 100vh !important;
        height: 100dvh !important;
        overflow: hidden !important;
        overflow-y: hidden !important;
        z-index: 100 !important;
        padding-left: max(var(--space-3), var(--safe-left));
    }
}

.sidebar .site-logo { padding-inline: var(--space-2); margin-bottom: var(--space-3); }

.side-nav a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 11px var(--space-3);
    border-radius: var(--radius-md);
    color: rgba(245, 242, 232, 0.82);
    font-weight: var(--weight-medium);
    font-size: var(--fs-sm);
    margin-bottom: 2px;
    position: relative;
    transition: background 0.15s ease, color 0.15s ease;
}
.side-nav a svg { width: 22px; height: 22px; }
.side-nav a:hover { background: rgba(245,242,232,0.08); color: #fff; }
.side-nav a.active { background: var(--color-olive); color: #fff; }
.side-nav a .nav-count {
    margin-left: auto;
    font-size: var(--fs-2xs);
    background: rgba(245,242,232,0.18);
    color: #fff;
    padding: 1px 8px;
    border-radius: var(--radius-pill);
}
.side-nav a .badge-dot {
    margin-left: auto;
    display: block;
}

.side-section-label {
    font-size: var(--fs-2xs);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: rgba(210, 180, 140, 0.75);
    padding-inline: var(--space-3);
    margin-bottom: var(--space-2);
}

.side-footer {
    margin-top: auto;
    padding: var(--space-3);
    border-top: 1px solid rgba(245,242,232,0.12);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: rgba(245,242,232,0.85);
    font-size: var(--fs-sm);
}
.side-footer a { color: rgba(245,242,232,0.85); }
.side-footer a:hover { color: var(--color-tan); }
.side-footer form { display: inline-flex; align-items: center; }
.side-footer form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-pill);
    color: rgba(245,242,232,0.85);
    transition: color 0.15s ease, background 0.15s ease;
}
.side-footer form button:hover { color: var(--color-tan); background: rgba(245,242,232,0.08); }

/* --- Site logo -------------------------------------------------------------------------------- */

.site-logo {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-display);
    font-weight: var(--weight-extrabold);
    letter-spacing: -0.01em;
    font-size: var(--fs-lg);
    gap: var(--space-2);
    line-height: 1;
}
.site-logo img { height: 34px; width: auto; }
.site-logo .site-logo__txt span { color: var(--color-orange); }
@media (max-width: 380px) {
    .site-logo .site-logo__txt { display: none; }
}

/* --- Public footer -------------------------------------------------------------------------------- */

.public-footer {
    background: var(--color-green-dark);
    color: rgba(245, 242, 232, 0.78);
    padding: var(--space-7) var(--space-4) calc(var(--space-7) + var(--safe-bottom));
}
.public-footer__grid {
    display: grid;
    gap: var(--space-6);
    max-width: var(--content-wide);
    margin-inline: auto;
}
@media (min-width: 768px) {
    .public-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-7); }
}
.public-footer h4 {
    color: var(--color-tan);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    margin-bottom: var(--space-3);
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
}
.public-footer ul li { margin-bottom: var(--space-2); }
.public-footer a { color: rgba(245,242,232,0.78); }
.public-footer a:hover { color: #fff; }
.public-footer .brand-copy { max-width: 300px; font-size: var(--fs-sm); margin-top: var(--space-3); }
.public-footer__bottom {
    max-width: var(--content-wide);
    margin-inline: auto;
    margin-top: var(--space-6);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(245,242,232,0.14);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    justify-content: space-between;
    font-size: var(--fs-xs);
    color: rgba(245,242,232,0.55);
}
.public-footer .site-logo { color: #fff; margin-bottom: var(--space-4); }
/* utilities.css */
/* ==========================================================================
   UTILITIES
   ========================================================================== */

.hidden { display: none !important; }
.invisible { visibility: hidden; }
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wrap-anywhere { overflow-wrap: anywhere; }

/* View transitions */
.fade-in { animation: fade-in 0.25s ease both; }
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Horizontal snap list (mobile carousels) */
.hscroll {
    display: flex;
    gap: var(--space-3);
    overflow-x: auto;
    padding-bottom: var(--space-2);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; flex-shrink: 0; }

/* Newsletter/cta patterns reuse */
.grain {
    position: relative;
}
.grain::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
}

/* Disable text selection while dragging */
.no-select { user-select: none; }

/* Scroll margin so sticky headers don't cover anchors */
[id] { scroll-margin-top: calc(var(--topbar-h) + var(--safe-top) + 16px); }

@media (min-width: 900px) {
    .desktop-only { display: revert !important; }
}
.mobile-only { display: inline-flex; }
@media (min-width: 900px) {
    .mobile-only { display: none !important; }
}
.desktop-only { display: none; }
/* landing.css */
/* ==========================================================================
   LANDING PAGE
   Mobile-first. The landing page is the visual reference for the whole brand.
   ========================================================================== */

.landing {
    background: var(--color-cream);
}

/* --- HERO ---------------------------------------------------------------------- */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--text-on-deep);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: calc(var(--topbar-h) + var(--safe-top) + 30px);
    padding-bottom: 0;
    background:
        linear-gradient(180deg, rgba(12, 17, 14, 0.4), transparent 34%),
        linear-gradient(90deg, rgba(13, 18, 15, 0.88) 0%, rgba(13, 18, 15, 0.6) 40%, rgba(13, 18, 15, 0.25) 70%, rgba(13, 18, 15, 0.08) 100%),
        url("/assets/hero.webp") center bottom / cover no-repeat;
}

/* Hero copy block */
.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--content-wide);
    margin-inline: auto;
    padding-inline: clamp(var(--space-4), 7vw, 96px);
    padding-block: clamp(4rem, 12vh, 7rem);
}
.hero-content__in { max-width: 740px; }

.hero h1 {
    font-family: "Anton", "Arial Narrow", sans-serif;
    font-weight: 400;
    color: #F7F3E7;
    font-size: clamp(2.6rem, 1rem + 6vw, 5.3rem);
    line-height: 0.98;
    letter-spacing: 0.01em;
    text-wrap: balance;
    text-shadow: 0 2px 26px rgba(0, 0, 0, 0.35);
}
.hero h1 .accent { color: var(--color-tan); }

.hero-copy {
    margin-top: var(--space-4);
    max-width: 46ch;
    color: rgba(245, 242, 232, 0.9);
    font-size: clamp(1.05rem, 1vw + 0.7rem, 1.5rem);
    line-height: 1.45;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-5);
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: var(--weight-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.hero-cta--primary {
    background: var(--color-olive);
    border: 1px solid var(--color-olive);
    color: #F7F3E7;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.hero-cta--primary:hover { background: #4C5C3E; border-color: #4C5C3E; color: #fff; }
.hero-cta--ghost {
    background: rgba(13, 18, 15, 0.4);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(245, 242, 232, 0.55);
    color: #F5F2E8;
}
.hero-cta--ghost:hover { background: rgba(245, 242, 232, 0.15); color: #fff; }

/* --- Section 2: Feature strip ------------------------------------------------ */

.hero-strip {
    position: relative;
    z-index: 2;
    background: #141915;
    border-top: 1px solid rgba(90, 107, 74, 0.35);
}
.hero-strip__in {
    max-width: var(--content-wide);
    margin-inline: auto;
    padding: var(--space-4) clamp(var(--space-3), 4vw, var(--space-6));
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
}
.hero-strip__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: var(--space-3);
    transition: background 0.15s ease;
}
.hero-strip__item:hover {
    background: rgba(255, 255, 255, 0.06);
}
.hero-strip__icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}
.hero-strip__icon svg { width: 24px; height: 24px; color: var(--color-tan); }
.hero-strip__item strong {
    font-size: var(--fs-2xs);
    font-weight: var(--weight-extrabold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #F5F2E8;
}
.hero-strip__item p {
    color: rgba(245, 242, 232, 0.65);
    font-size: 0.72rem;
    line-height: 1.35;
    margin: 0;
}

/* Torn-paper transition into the cream section below */
.hero-strip__edge {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 3;
    height: 18px;
    pointer-events: none;
}
.hero-strip__edge svg { width: 100%; height: 100%; display: block; }

@media (min-width: 640px) {
    .hero-strip__in { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1080px) {
    .hero { min-height: 85vh; padding-bottom: 0; }
    .hero-strip { margin-top: 0; }
    .hero-strip__in {
        grid-template-columns: repeat(6, 1fr);
        gap: 0;
        padding-block: var(--space-6);
    }
    .hero-strip__item {
        background: transparent;
        border: none;
        border-radius: 0;
        padding-inline: var(--space-4);
        border-left: 1px solid rgba(90, 107, 74, 0.4);
    }
    .hero-strip__item:first-child { padding-left: 0; border-left: 0; }
}

@media (max-width: 560px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .hero-cta { width: 100%; }
}

/* --- Generic section shells ----------------------------------------------------- */

.land-section {
    padding: clamp(3.5rem, 8vw, 6rem) var(--space-4);
    position: relative;
}
.land-section__in {
    max-width: var(--content-wide);
    margin-inline: auto;
    position: relative;
}
.land-section--cream { background: var(--color-cream); }
.land-section--white { background: var(--surface); }
.land-section--dark {
    background: linear-gradient(180deg, #1E2B23, #16241B);
    color: var(--text-on-deep);
}
.land-section--dark h2, .land-section--dark h3 { color: #F7F3E7; }

.section-head {
    max-width: 62ch;
    margin-bottom: var(--space-6);
}
.section-head--center {
    margin-inline: auto;
    text-align: center;
}
.section-head h2 {
    font-size: clamp(1.7rem, 2.4vw + 0.8rem, 2.6rem);
    line-height: 1.1;
    text-wrap: balance;
}
.section-head p {
    color: var(--text-muted);
    margin-top: var(--space-3);
    font-size: var(--fs-lg);
    max-width: 52ch;
}
.land-section--dark .section-head p { color: rgba(245,242,232,0.72); }
.section-head--center p { margin-inline: auto; }

/* --- The idea ------------------------------------------------------------------------- */

.idea-why {
    display: grid;
    gap: var(--space-3);
    margin-top: var(--space-6);
}
@media (min-width: 700px) {
    .idea-why { grid-template-columns: repeat(2, 1fr); }
}
.why-card {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}
.why-card__num {
    font-family: var(--font-display);
    font-weight: var(--weight-extrabold);
    color: var(--color-tan);
    font-size: var(--fs-xl);
    line-height: 1;
    min-width: 34px;
}
.why-card h3 { margin-bottom: 4px; }
.why-card p { color: var(--text-muted); font-size: var(--fs-sm); }

/* --- What you can do ------------------------------------------------------------------ */

.feature-grid {
    display: grid;
    gap: var(--space-4);
}
@media (min-width: 700px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
.feature {
    position: relative;
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    overflow: hidden;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--text-on-deep);
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature h3 {
    color: inherit;
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-2);
}
.feature p { color: rgba(245,242,232,0.82); font-size: var(--fs-sm); max-width: 34ch; }
.feature__icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-md);
    background: rgba(245,242,232,0.14);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: auto;
}
.feature__icon svg { width: 26px; height: 26px; color: var(--color-tan); }

.feature--meet { background: linear-gradient(140deg, #243A2A, #1E2B23); }
.feature--ask  { background: linear-gradient(140deg, #B8682B, #9A521E); }
.feature--find { background: linear-gradient(140deg, #5A6B4A, #485A39); }
.feature--travel { background: linear-gradient(140deg, #3A463A, #2A3528); }

/* --- Community preview ----------------------------------------------------------------- */

.demo-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-2xs);
    font-weight: var(--weight-semibold);
    color: var(--warning);
    background: var(--warning-bg);
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-4);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.preview-grid {
    display: grid;
    gap: var(--space-5);
    align-items: start;
}
@media (min-width: 900px) {
    .preview-grid { grid-template-columns: 5fr 7fr; }
}

.mini-card {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: var(--space-4);
    margin-bottom: var(--space-4);
}
.mini-card__head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.mini-card__name { font-weight: var(--weight-semibold); color: var(--color-green-dark); }
.mini-card__meta { font-size: var(--fs-2xs); color: var(--text-muted); }
.mini-card__body { color: var(--text); font-size: var(--fs-sm); line-height: var(--lh-snug); }
.mini-card__actions { display: flex; gap: var(--space-4); margin-top: var(--space-3); color: var(--text-muted); font-size: var(--fs-xs); }
.mini-card__actions span { display: inline-flex; align-items: center; gap: 6px; }
.mini-card__actions svg { width: 16px; height: 16px; }

.mini-photo {
    border-radius: var(--radius-md);
    aspect-ratio: 16 / 9;
    background: linear-gradient(140deg, #5A6B4A, #2A3D24);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(245,242,232,0.65);
    margin-top: var(--space-3);
    overflow: hidden;
}
.mini-photo svg { width: 34px; height: 34px; }

/* Question callout card */
.q-card {
    border-left: 4px solid var(--color-orange);
}
.q-card h4 { font-size: var(--fs-md); margin-bottom: var(--space-2); }
.q-tags { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-3); }

/* Reply chain in preview */
.reply-chain { margin-top: var(--space-3); }
.reply {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-top: 1px dashed var(--border);
}
.reply p { font-size: var(--fs-sm); color: var(--text-muted); }

/* --- Meetups section ---------------------------------------------------------------------- */

.meetup-grid {
    display: grid;
    gap: var(--space-4);
}
@media (min-width: 700px) {
    .meetup-grid { grid-template-columns: repeat(3, 1fr); }
}
.meetup-card {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    display: flex;
    flex-direction: column;
}
.meetup-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.meetup-card__cover {
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
}
.meetup-card__cover .cover-art { position: absolute; inset: 0; }
.meetup-card__cover .cover-art svg { width: 100%; height: 100%; }
.meetup-card__dates {
    position: absolute;
    left: var(--space-3); bottom: var(--space-3);
    background: var(--color-green-dark);
    color: var(--color-tan);
    font-weight: var(--weight-semibold);
    font-size: var(--fs-xs);
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-sm);
}
.meetup-card__dates svg { width: 14px; height: 14px; }
.meetup-card__body { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.meetup-card__title { font-family: var(--font-display); font-weight: var(--weight-bold); color: var(--color-green-dark); font-size: var(--fs-lg); }
.meetup-card__loc { color: var(--text-muted); font-size: var(--fs-xs); display: inline-flex; align-items: center; gap: 6px; }
.meetup-card__loc svg { width: 14px; height: 14px; }
.meetup-card__attending { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: var(--space-3); }

/* Avatar cluster (used in meetup cards and community previews) */
.hcard__avatars { display: flex; }
.hcard__avatars .avatar { border: 2px solid #fff; }
.hcard__avatars .avatar + .avatar { margin-left: -10px; }

.meetup-types {
    margin-top: var(--space-6);
    background: var(--surface-muted);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3) var(--space-4);
    align-items: center;
}
.meetup-types strong { font-size: var(--fs-sm); }
.meetup-types span { color: var(--text-muted); font-size: var(--fs-sm); }

/* --- Knowledge / Learn ----------------------------------------------------------------------- */

.learn-split {
    display: grid;
    gap: var(--space-6);
    align-items: center;
}
@media (min-width: 900px) {
    .learn-split { grid-template-columns: 5fr 7fr; }
}

.qa-list { position: relative; }
.qa-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-2);
    border-bottom: 1px solid var(--border);
    color: var(--text);
}
.qa-item:hover { color: var(--primary); }
.qa-item svg { color: var(--color-orange); width: 20px; height: 20px; flex-shrink: 0; }
.qa-item span { font-weight: var(--weight-medium); }

.learn-topics {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-5);
}
.learn-topics .tag { background: var(--surface-raised); border: 1px solid var(--border); }

/* --- Travel section ---------------------------------------------------------------------------- */

.travel-band {
    background: linear-gradient(140deg, #1E2B23, #263B27);
    border-radius: var(--radius-xl);
    padding: clamp(1.8rem, 4vw, 3rem);
    color: var(--text-on-deep);
    position: relative;
    overflow: hidden;
}
.travel-band h3 { color: #F7F3E7; font-size: var(--fs-2xl); margin-bottom: var(--space-3); }
.travel-band p { color: rgba(245,242,232,0.78); max-width: 54ch; }
.travel-band::after {
    content: "";
    position: absolute;
    right: -40px; top: -40px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217,120,44,0.25), transparent 68%);
    pointer-events: none;
}
.travel-points {
    display: grid;
    gap: var(--space-2);
    margin-top: var(--space-5);
}
.travel-points li {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    font-size: var(--fs-sm);
    color: rgba(245,242,232,0.85);
}
.travel-points svg { width: 18px; height: 18px; color: var(--color-tan); margin-top: 2px; flex-shrink: 0; }

/* --- Founders --------------------------------------------------------------------------------------- */

.founders-grid {
    display: grid;
    gap: var(--space-4);
}
@media (min-width: 700px) {
    .founders-grid { grid-template-columns: repeat(2, 1fr); }
}
.founder {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.founder__name { font-family: var(--font-display); font-weight: var(--weight-bold); color: var(--color-green-dark); font-size: var(--fs-lg); }
.founder__role { color: var(--color-orange); font-size: var(--fs-xs); font-weight: var(--weight-semibold); letter-spacing: 0.08em; text-transform: uppercase; }
.founder p { color: var(--text-muted); font-size: var(--fs-sm); }
.founder .badge-tag { align-self: flex-start; }

/* --- Final CTA ------------------------------------------------------------------------------------------ */

.final-cta { text-align: center; }
.final-cta h2 {
    font-size: clamp(1.9rem, 3vw + 0.8rem, 3rem);
    max-width: 18ch;
    margin-inline: auto;
    text-wrap: balance;
}
.final-cta p { color: var(--text-muted); max-width: 50ch; margin: var(--space-3) auto 0; }
.final-cta .hero-actions { justify-content: center; margin-top: var(--space-5); }

/* --- Small feature chips strip --------------------------------------------------------------------------- */

.strip {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-4);
    justify-content: center;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    margin-top: var(--space-5);
}
.strip span { display: inline-flex; align-items: center; gap: 6px; }
.strip svg { width: 16px; height: 16px; color: var(--color-olive); }
