/* ============================================
   Faraja DC: landing page
   ============================================ */

/* Light theme (default) */
:root {
    color-scheme: light;
    --bg: #f5faf8;
    --bg-2: #ffffff;
    --surface: rgba(255, 255, 255, 0.72);
    --surface-strong: #ffffff;
    --border: rgba(11, 60, 46, 0.12);
    --border-strong: rgba(10, 143, 104, 0.45);
    --text: #0b2a22;
    --muted: #4b6a61;
    --accent: #0a8f68;
    --accent-soft: rgba(10, 143, 104, 0.1);
    --gold: #c4841a;
    --grad-mid: #13b387;
    --btn-bg: linear-gradient(135deg, #0a8f68, #17b98c);
    --btn-text: #ffffff;
    --btn-glow: rgba(10, 143, 104, 0.28);
    --glass: rgba(255, 255, 255, 0.65);
    --glass-strong: rgba(255, 255, 255, 0.9);
    --glass-menu: rgba(255, 255, 255, 0.97);
    --card-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72));
    --ghost-num: rgba(11, 60, 46, 0.08);
    --grid-line: rgba(11, 60, 46, 0.06);
    --orb-1: #a8ecd2;
    --orb-2: #b9dff3;
    --orb-3: rgba(255, 214, 150, 0.9);
    --orb-opacity: 0.75;
    --footer-bg: #eaf3ef;
    --radius: 22px;
    --radius-sm: 14px;
    --shadow: 0 20px 50px rgba(15, 60, 45, 0.12);
    --font-display: "Space Grotesk", "Outfit", sans-serif;
    --font-body: "Outfit", system-ui, sans-serif;
    --max: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
}

/* Dark theme (opt-in via the navbar toggle) */
:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #04100d;
    --bg-2: #071a15;
    --surface: rgba(255, 255, 255, 0.045);
    --surface-strong: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(46, 230, 166, 0.35);
    --text: #eaf5f1;
    --muted: #9fb8b0;
    --accent: #2ee6a6;
    --accent-soft: rgba(46, 230, 166, 0.1);
    --gold: #f7c873;
    --grad-mid: #9df7d5;
    --btn-bg: linear-gradient(135deg, #2ee6a6, #8ff5cf);
    --btn-text: #022a1e;
    --btn-glow: rgba(46, 230, 166, 0.25);
    --glass: rgba(6, 22, 18, 0.55);
    --glass-strong: rgba(6, 22, 18, 0.8);
    --glass-menu: rgba(6, 22, 18, 0.96);
    --card-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
    --ghost-num: rgba(255, 255, 255, 0.06);
    --grid-line: rgba(255, 255, 255, 0.035);
    --orb-1: #0f8f68;
    --orb-2: #1d6f8f;
    --orb-3: rgba(247, 200, 115, 0.55);
    --orb-opacity: 0.55;
    --footer-bg: rgba(2, 10, 8, 0.7);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

/* Sections that sit on top of photos always use light-on-dark text */
.shared,
.bento-photo figcaption {
    --text: #eaf5f1;
    --muted: #c3d6d0;
    --accent: #2ee6a6;
    --gold: #f7c873;
    --border: rgba(255, 255, 255, 0.14);
    color: var(--text);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.4s ease, color 0.4s ease;
}

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

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---------- Ambient backdrop ---------- */
.backdrop {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: var(--orb-opacity);
    animation: drift 22s ease-in-out infinite alternate;
}

.orb-1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, var(--orb-1) 0%, transparent 70%);
    top: -160px;
    left: -140px;
}

.orb-2 {
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, var(--orb-2) 0%, transparent 70%);
    top: 30%;
    right: -180px;
    animation-delay: -8s;
}

.orb-3 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, var(--orb-3) 0%, transparent 70%);
    bottom: -140px;
    left: 30%;
    opacity: 0.25;
    animation-delay: -14s;
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}

@keyframes drift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(60px, 40px) scale(1.12); }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 20px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--btn-text);
    background: var(--btn-bg);
    box-shadow: 0 10px 30px var(--btn-glow);
}

.btn-primary:hover {
    box-shadow: 0 14px 40px var(--btn-glow);
}

.btn-ghost {
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    border-color: var(--border-strong);
    background: var(--surface-strong);
}

.btn-lg {
    padding: 15px 28px;
    font-size: 1.02rem;
}

/* ---------- Navbar ---------- */
.navbar {
    position: sticky;
    top: 12px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: var(--max);
    margin: 12px auto 0;
    width: calc(100% - 2 * var(--gutter));
    padding: 10px 12px 10px 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--glass);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: var(--glass-strong);
    box-shadow: var(--shadow);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.brand:hover {
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #022a1e;
    background: linear-gradient(135deg, #2ee6a6, #f7c873);
    font-size: 1rem;
}

.nav-end {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    font-size: 1rem;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.theme-toggle:hover {
    border-color: var(--border-strong);
    transform: rotate(-12deg);
}

.theme-toggle .fa-sun { display: none; color: var(--gold); }
.theme-toggle .fa-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .fa-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .fa-moon { display: none; }

.brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1;
    display: flex;
    flex-direction: column;
}

.brand-text small {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.04em;
    margin-top: 3px;
}

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

.nav-links > a {
    color: var(--muted);
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-links > a:hover {
    color: var(--text);
    background: var(--surface-strong);
    text-decoration: none;
}

.nav-actions {
    display: flex;
    gap: 8px;
}

.nav-mobile-actions {
    display: none;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Shared section bits ---------- */
.section {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(70px, 10vw, 120px) var(--gutter) 0;
}

.section-head {
    max-width: 680px;
    margin-bottom: 40px;
}

.section-head h2,
.purpose-copy h2,
.journey-copy h2 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    margin: 12px 0 14px;
}

.section-head p {
    color: var(--muted);
    font-size: 1.05rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.gradient-text {
    background: linear-gradient(120deg, var(--accent) 10%, var(--grad-mid) 45%, var(--gold) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Hero ---------- */
.hero {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(50px, 8vw, 90px) var(--gutter) 60px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 0.88rem;
    backdrop-filter: blur(8px);
}

.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(46, 230, 166, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    70%  { box-shadow: 0 0 0 10px rgba(46, 230, 166, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 230, 166, 0); }
}

.hero h1 {
    font-size: clamp(2.6rem, 6.4vw, 4.8rem);
    margin: 22px 0 20px;
    font-weight: 700;
}

.lead {
    color: var(--muted);
    font-size: clamp(1.02rem, 1.6vw, 1.15rem);
    max-width: 560px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: 32px;
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-meta i {
    color: var(--accent);
    margin-right: 6px;
}

.hero-meta strong {
    color: var(--text);
    font-weight: 600;
}

/* Collage */
.collage {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 14px;
    aspect-ratio: 1 / 1.02;
}

.tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.tile:hover img {
    transform: scale(1.06);
}

.tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(4, 16, 13, 0.45));
}

.tile-a { grid-column: 1 / 5; grid-row: 1 / 4; }
.tile-b { grid-column: 5 / 7; grid-row: 1 / 3; }
.tile-c { grid-column: 5 / 7; grid-row: 3 / 7; }
.tile-d { grid-column: 1 / 5; grid-row: 4 / 7; }

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--glass-strong);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
    animation: bob 6s ease-in-out infinite;
}

.float-card strong {
    display: block;
    font-size: 0.92rem;
}

.float-card small {
    color: var(--muted);
    font-size: 0.78rem;
}

.float-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(46, 230, 166, 0.15);
    color: var(--accent);
}

.float-icon.gold {
    background: rgba(247, 200, 115, 0.15);
    color: var(--gold);
}

.float-1 { left: -26px; top: 44%; }
.float-2 { right: -18px; bottom: -18px; animation-delay: -3s; }

@keyframes bob {
    50% { transform: translateY(-10px); }
}

/* ---------- Marquee ---------- */
.marquee {
    overflow: hidden;
    border-block: 1px solid var(--border);
    background: var(--surface);
    padding: 18px 0;
    margin-top: 20px;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 34px;
    width: max-content;
    animation: scroll 38s linear infinite;
}

.marquee-track span {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    font-weight: 500;
    color: var(--muted);
}

.marquee-track i {
    font-size: 0.4rem;
    color: var(--accent);
}

@keyframes scroll {
    to { transform: translateX(-50%); }
}

/* ---------- Purpose ---------- */
.purpose {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 6vw, 80px);
    align-items: center;
    margin-bottom: clamp(70px, 10vw, 110px);
}

.purpose-media {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: end;
}

.purpose-media figure {
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.purpose-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-tall { aspect-ratio: 3 / 4.4; }
.media-wide { aspect-ratio: 3 / 3.6; margin-bottom: 40px; }

.media-badge {
    position: absolute;
    right: 8%;
    top: 4%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--glass-strong);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 0.85rem;
    line-height: 1.3;
    color: var(--muted);
}

.media-badge i {
    font-size: 1.6rem;
    color: var(--gold);
}

.media-badge strong {
    display: block;
    color: var(--text);
    font-size: 0.95rem;
}

.purpose-copy p {
    color: var(--muted);
    margin-bottom: 14px;
    font-size: 1.05rem;
}

.checklist {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checklist i {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.7rem;
    color: var(--btn-text);
    background: var(--accent);
    flex-shrink: 0;
}

/* ---------- Cards ---------- */
.cards {
    display: grid;
    gap: 18px;
}

.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four  { grid-template-columns: repeat(4, 1fr); }

.card {
    position: relative;
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(46, 230, 166, 0.14), transparent 45%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    margin-bottom: 20px;
    font-size: 1.25rem;
    color: var(--accent);
    background: rgba(46, 230, 166, 0.1);
    border: 1px solid rgba(46, 230, 166, 0.25);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

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

.card-num {
    position: absolute;
    top: 22px;
    right: 24px;
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--ghost-num);
}

/* ---------- Facts ---------- */
.facts {
    max-width: var(--max);
    margin: clamp(70px, 10vw, 110px) auto 0;
    width: calc(100% - 2 * var(--gutter));
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(46, 230, 166, 0.08), rgba(29, 111, 143, 0.06));
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.fact {
    padding: 30px 26px;
    border-right: 1px solid var(--border);
}

.fact:last-child {
    border-right: none;
}

.fact-num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
    background: linear-gradient(120deg, var(--text), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.fact-label {
    color: var(--muted);
    font-size: 0.95rem;
}

/* ---------- Journey ---------- */
.journey {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(30px, 6vw, 80px);
    align-items: start;
}

.journey-copy {
    position: sticky;
    top: 110px;
}

.journey-copy p {
    color: var(--muted);
    margin-bottom: 26px;
    font-size: 1.05rem;
}

.journey-photo {
    margin-top: 34px;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    aspect-ratio: 16 / 10;
}

.journey-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline {
    list-style: none;
    position: relative;
    display: grid;
    gap: 16px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: linear-gradient(var(--accent), rgba(46, 230, 166, 0.05));
}

.timeline li {
    position: relative;
    display: flex;
    gap: 20px;
    padding: 22px 24px 22px 0;
}

.timeline li > div {
    padding: 20px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    flex: 1;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.timeline li:hover > div {
    border-color: var(--border-strong);
    background: var(--surface-strong);
}

.timeline h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.timeline p {
    color: var(--muted);
    font-size: 0.97rem;
}

.step-dot {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    color: var(--btn-text);
    background: var(--btn-bg);
    box-shadow: 0 0 0 6px var(--bg), 0 0 30px var(--btn-glow);
    font-size: 1.1rem;
}

/* ---------- Bento ---------- */
.bento {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 18px;
}

.bento-photo {
    position: relative;
    grid-row: 1 / 3;
    min-height: 420px;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.bento-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bento-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(4, 16, 13, 0.9));
}

.bento-photo figcaption {
    position: absolute;
    z-index: 1;
    left: 28px;
    right: 28px;
    bottom: 26px;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
}

.bento .card:last-child {
    grid-column: 2 / 4;
}

/* ---------- Shared responsibility ---------- */
.shared {
    position: relative;
    max-width: var(--max);
    width: calc(100% - 2 * var(--gutter));
    margin: clamp(70px, 10vw, 120px) auto 0;
    min-height: 520px;
    display: flex;
    align-items: center;
    border-radius: calc(var(--radius) + 8px);
    overflow: hidden;
    border: 1px solid var(--border);
}

.shared-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shared::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 16, 13, 0.92) 0%, rgba(4, 16, 13, 0.55) 55%, rgba(4, 16, 13, 0.15) 100%);
}

.shared-panel {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 40px;
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(6, 22, 18, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.shared-panel h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    margin: 12px 0 16px;
}

.shared-panel p {
    color: var(--muted);
    margin-bottom: 14px;
}

.shared-panel .note {
    display: flex;
    gap: 10px;
    margin: 20px 0 0;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: rgba(247, 200, 115, 0.08);
    border: 1px solid rgba(247, 200, 115, 0.25);
    font-size: 0.93rem;
}

.shared-panel .note i {
    color: var(--gold);
    margin-top: 4px;
}

/* ---------- FAQ ---------- */
.faq {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
}

.faq details {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.faq details[open] {
    border-color: var(--border-strong);
    background: var(--surface-strong);
}

.faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    font-weight: 600;
    font-size: 1.04rem;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--accent);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.faq details[open] summary::after {
    transform: rotate(45deg);
}

.faq details p {
    padding: 0 22px 20px;
    color: var(--muted);
}

/* ---------- CTA ---------- */
.cta {
    max-width: var(--max);
    width: calc(100% - 2 * var(--gutter));
    margin: clamp(70px, 10vw, 120px) auto;
    border-radius: calc(var(--radius) + 8px);
    padding: 2px;
    background: linear-gradient(135deg, var(--accent), rgba(29, 111, 143, 0.6), var(--gold));
}

.cta-inner {
    border-radius: calc(var(--radius) + 6px);
    padding: clamp(40px, 7vw, 72px) clamp(20px, 5vw, 60px);
    text-align: center;
    background:
        radial-gradient(600px circle at 50% 0%, rgba(46, 230, 166, 0.18), transparent 60%),
        var(--bg-2);
}

.cta h2 {
    font-size: clamp(1.9rem, 4.4vw, 3rem);
    margin-bottom: 14px;
}

.cta p {
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.cta .hero-ctas {
    justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
    border-top: 1px solid var(--border);
    background: var(--footer-bg);
}

.footer-grid {
    max-width: var(--max);
    margin: 0 auto;
    padding: 60px var(--gutter) 40px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr;
    gap: 40px;
}

.footer-brand p {
    color: var(--muted);
    margin-top: 18px;
    max-width: 420px;
    font-size: 0.95rem;
}

.footer h3 {
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.footer ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer ul a {
    color: var(--muted);
}

.footer ul a:hover {
    color: var(--accent);
}

.contact-list li {
    display: flex;
    gap: 12px;
    color: var(--muted);
    font-size: 0.95rem;
}

.contact-list i {
    color: var(--accent);
    margin-top: 5px;
    width: 16px;
}

.footer-bottom {
    max-width: var(--max);
    margin: 0 auto;
    padding: 22px var(--gutter);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.88rem;
}

.to-top {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--text);
    background: var(--surface);
}

.to-top:hover {
    border-color: var(--border-strong);
    text-decoration: none;
}

/* ---------- Scroll reveal ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.visible {
    opacity: 1;
    transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .nav-actions .btn-ghost { display: none; }
    .cards.four { grid-template-columns: repeat(2, 1fr); }
    .facts { grid-template-columns: repeat(2, 1fr); }
    .fact:nth-child(2) { border-right: none; }
    .fact:nth-child(-n + 2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 900px) {
    .navbar {
        border-radius: 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 12px;
        border-radius: 20px;
        border: 1px solid var(--border);
        background: var(--glass-menu);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-links > a {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .nav-mobile-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 8px;
        padding-top: 12px;
        border-top: 1px solid var(--border);
    }

    .hero,
    .purpose,
    .journey {
        grid-template-columns: 1fr;
    }

    .collage {
        max-width: 560px;
        width: 100%;
        margin: 0 auto;
    }

    .journey-copy {
        position: static;
    }

    .cards.three {
        grid-template-columns: 1fr;
    }

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

    .bento-photo {
        grid-column: 1 / 3;
        grid-row: auto;
        min-height: 320px;
    }

    .bento .card:last-child {
        grid-column: 1 / 3;
    }

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

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

    .footer-brand {
        grid-column: 1 / 3;
    }
}

@media (max-width: 600px) {
    .cards.four,
    .facts,
    .bento {
        grid-template-columns: 1fr;
    }

    .fact {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .fact:last-child {
        border-bottom: none;
    }

    .bento-photo,
    .bento .card:last-child {
        grid-column: auto;
    }

    .collage {
        gap: 10px;
    }

    .float-1 { left: -6px; top: 40%; }
    .float-2 { right: -6px; bottom: -14px; }

    .float-card {
        padding: 10px 12px;
    }

    .float-card small {
        display: none;
    }

    .media-wide { margin-bottom: 24px; }

    .media-badge {
        right: 4%;
        top: -14px;
    }

    .shared {
        min-height: 0;
    }

    .shared::after {
        background: linear-gradient(180deg, rgba(4, 16, 13, 0.45), rgba(4, 16, 13, 0.92));
    }

    .shared-panel {
        margin: 160px 12px 12px;
        padding: 24px;
    }

    .timeline::before {
        left: 21px;
    }

    .step-dot {
        width: 44px;
        height: 44px;
        font-size: 0.95rem;
    }

    .timeline li {
        gap: 14px;
        padding-right: 0;
    }

    .timeline li > div {
        padding: 16px 18px;
    }

    .hero-ctas .btn {
        flex: 1 1 auto;
    }

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

    .footer-brand {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}
