/* =====================================================
   THAI BY HEART — CINEMATIC WEBSITE
   Color Palette:
   #b89a7a  Warm Sand
   #d0cec9  Soft Stone
   #636d44  Olive Sage
   #914d39  Earth Clay
   #555557  Charcoal Gray
   #f6f7f8  Off White
   #070c15  Deep Navy (background)
===================================================== */

:root {
    --sand:      #b89a7a;
    --stone:     #d0cec9;
    --sage:      #636d44;
    --clay:      #914d39;
    --charcoal:  #555557;
    --white:     #f6f7f8;

    --bg:        #070c15;
    --bg-mid:    #0d1525;
    --bg-surf:   #111a2e;

    --glass:       rgba(255,255,255,0.04);
    --glass-bdr:   rgba(255,255,255,0.08);
    --glass-hover: rgba(255,255,255,0.07);

    --text:        #f6f7f8;
    --text-sub:    rgba(208,206,201,0.72);
    --text-muted:  rgba(208,206,201,0.38);
    --accent:      #b89a7a;
    --accent-glow: rgba(184,154,122,0.28);

    --serif:   'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    --sans:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --pad:  120px 0;
    --wrap: 1280px;
    --gap:  48px;

    --ease:      0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-slow: 0.8s  cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ─── RESET ─────────────────────────────────────────── */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; }

/* ─── GRAIN OVERLAY ─────────────────────────────────── */

.grain-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px;
    animation: grain-shift 9s steps(10) infinite;
}

@keyframes grain-shift {
    0%,100%{ transform: translate(0,0); }
    20%    { transform: translate(-2%,-3%); }
    40%    { transform: translate(3%, 2%); }
    60%    { transform: translate(-1%, 3%); }
    80%    { transform: translate(2%,-2%); }
}

/* ─── SHARED LAYOUT ─────────────────────────────────── */

.section-container {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gap);
}

.section-header { margin-bottom: 60px; }

.section-eyebrow {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--display);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 18px;
}
.section-title em { font-style: italic; color: var(--accent); }

.section-subtitle {
    font-size: 15.5px;
    color: var(--text-sub);
    line-height: 1.72;
    max-width: 540px;
}

/* ─── GLASS CARD ────────────────────────────────────── */

.glass-card {
    background: var(--glass);
    border: 1px solid var(--glass-bdr);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-radius: 16px;
    transition: background var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.glass-card:hover {
    background: var(--glass-hover);
    border-color: rgba(184,154,122,0.22);
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

/* ─── BUTTONS ───────────────────────────────────────── */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--accent);
    color: #080c14;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    border-radius: 50px;
    transition: var(--ease);
}
.btn-primary:hover {
    background: #c4a98c;
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(184,154,122,0.42);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: transparent;
    color: var(--stone);
    font-size: 13.5px;
    font-weight: 500;
    border-radius: 50px;
    border: 1px solid rgba(208,206,201,0.22);
    transition: var(--ease);
}
.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: transparent;
    color: var(--stone);
    font-size: 13.5px;
    font-weight: 500;
    border-radius: 50px;
    border: 1px solid rgba(208,206,201,0.22);
    transition: var(--ease);
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

.btn-lg { padding: 18px 38px; font-size: 15px; }

/* ─── SCROLL ANIMATIONS ─────────────────────────────── */

.reveal-up {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.82s cubic-bezier(0.25,0.46,0.45,0.94),
                transform 0.82s cubic-bezier(0.25,0.46,0.45,0.94);
}
.revealed {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) !important;
}

.hero-animate {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s cubic-bezier(0.25,0.46,0.45,0.94),
                transform 1s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* ─── KEYFRAMES ─────────────────────────────────────── */

@keyframes float {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-14px); }
}

@keyframes pulse-glow {
    0%,100% { opacity: 0.5; }
    50%     { opacity: 1; }
}

@keyframes scroll-fade {
    0%,100% { opacity: 0.3; }
    50%     { opacity: 0.9; }
}

/* ─── LOGO IMAGE ────────────────────────────────────── */

.nav-logo-img {
    height: 36px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.92;
    transition: opacity var(--ease);
}
.nav-logo:hover .nav-logo-img { opacity: 1; }

.footer-logo-img {
    height: 60px;
    width: auto;
    display: block;
    margin: 0 auto 8px;
    filter: brightness(1.4) saturate(1.2);
    opacity: 0.9;
}

/* ─── NAVBAR ────────────────────────────────────────── */

.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 800;
    padding: 22px 0;
    transition: padding var(--ease), background var(--ease), backdrop-filter var(--ease);
}
.navbar.scrolled {
    padding: 13px 0;
    background: rgba(7,12,21,0.88);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gap);
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    margin-right: auto;
    line-height: 1;
}
.logo-text {
    font-family: var(--display);
    font-size: 21px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.3px;
}
.logo-sub {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: 4px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-link {
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: rgba(246,247,248,0.65);
    position: relative;
    transition: color 0.3s;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.nav-social {
    display: flex;
    align-items: center;
    gap: 16px;
}
.social-icon {
    font-size: 13.5px;
    color: rgba(246,247,248,0.45);
    transition: color 0.3s, transform 0.3s;
}
.social-icon:hover { color: var(--accent); transform: translateY(-2px); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 900;
}
.hamburger span {
    width: 22px;
    height: 1.5px;
    background: var(--white);
    display: block;
    transition: var(--ease);
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── HERO ──────────────────────────────────────────── */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    will-change: transform;
}
.hero-bg-base {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, #070c15 0%, #0c1528 45%, #111e36 75%, #080f1f 100%);
}
.hero-bg-radials {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 55% at 72% 38%, rgba(13,25,62,0.75) 0%, transparent 60%),
        radial-gradient(ellipse 45% 40% at 25% 65%, rgba(145,77,57,0.07) 0%, transparent 55%),
        radial-gradient(ellipse 35% 30% at 80% 75%, rgba(184,154,122,0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 55% 50%, rgba(99,109,68,0.04) 0%, transparent 60%);
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 150px var(--gap) 90px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 72px;
    align-items: center;
}

/* Hero Left */
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}
.eyebrow-line {
    width: 36px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0;
}
.eyebrow-text {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--accent);
}

.hero-headline {
    font-family: var(--display);
    font-size: clamp(46px, 5.8vw, 82px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -1.5px;
    color: var(--white);
    margin-bottom: 22px;
}
.hero-headline em { font-style: italic; color: var(--accent); }
.headline-soft { color: rgba(208,206,201,0.65); font-weight: 400; font-style: italic; }

.hero-subtext {
    font-size: 16.5px;
    line-height: 1.78;
    color: var(--text-sub);
    max-width: 500px;
    margin-bottom: 36px;
}

.hero-stats {
    display: flex;
    align-items: center;
    width: fit-content;
    padding: 20px 24px;
    background: var(--glass);
    border: 1px solid var(--glass-bdr);
    border-radius: 14px;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    margin-bottom: 36px;
    gap: 4px;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 18px;
    gap: 3px;
}
.stat-value {
    display: flex;
    align-items: baseline;
}
.hero-count,
.stat-sfx {
    font-family: var(--display);
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.stat-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.stat-divider {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,0.07);
    flex-shrink: 0;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Hero Right — Portrait */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.portrait-frame {
    position: relative;
    width: 320px;
    height: 460px;
    animation: float 7s ease-in-out infinite;
}

.portrait-glow {
    position: absolute;
    inset: -24px;
    background: radial-gradient(ellipse at center, rgba(184,154,122,0.2) 0%, transparent 68%);
    border-radius: 28px;
    animation: pulse-glow 5s ease-in-out infinite;
    z-index: 0;
}

.portrait-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(184,154,122,0.2);
    box-shadow:
        0 50px 100px rgba(0,0,0,0.65),
        0 0 0 1px rgba(255,255,255,0.04),
        inset 0 1px 0 rgba(255,255,255,0.07);
}

.portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.portrait-placeholder {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #0d1525, #1a2540, #131c35);
    gap: 12px;
    padding: 40px;
    text-align: center;
}
.portrait-placeholder i    { font-size: 44px; color: var(--accent); opacity: 0.35; }
.portrait-placeholder span { font-size: 13px; font-weight: 600; color: var(--stone); opacity: 0.6; letter-spacing: 0.8px; }
.portrait-placeholder small{ font-size: 10px; color: var(--text-muted); font-family: monospace; letter-spacing: 0.4px; }

.portrait-badge {
    position: absolute;
    bottom: -14px;
    left: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: rgba(7,12,21,0.92);
    border: 1px solid rgba(184,154,122,0.3);
    border-radius: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 3;
    box-shadow: 0 8px 28px rgba(0,0,0,0.4);
}
.badge-flag { font-size: 17px; }
.badge-text {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.portrait-reel {
    position: absolute;
    bottom: -48px;
    right: 22px;
    display: flex;
    gap: 6px;
    z-index: 3;
    align-items: center;
}
.portrait-reel span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
}
.portrait-reel .reel-active {
    background: var(--accent);
    width: 18px;
    border-radius: 3px;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}
.scroll-line {
    width: 1px;
    height: 38px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scroll-fade 2.4s ease-in-out infinite;
}
.hero-scroll-hint span {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ─── SOCIAL PROOF ──────────────────────────────────── */

.social-proof { padding: 72px 0; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stat-card {
    padding: 34px 24px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
.stat-card:hover::before { opacity: 1; }

.stat-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 19px;
}
.stat-card-icon.fb-icon { background: rgba(59,89,152,0.18);  color: #6d8cc7; }
.stat-card-icon.tt-icon { background: rgba(255,255,255,0.06); color: var(--stone); }
.stat-card-icon.ig-icon { background: rgba(225,48,108,0.14);  color: #e1306c; }
.stat-card-icon.yt-icon { background: rgba(255,0,0,0.13);     color: #ff4444; }

.stat-card-num {
    font-family: var(--display);
    font-size: 38px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 7px;
}
.stat-card-label {
    font-size: 12.5px;
    color: var(--text-sub);
    font-weight: 500;
    margin-bottom: 14px;
    letter-spacing: 0.2px;
}
.stat-card-sub {
    font-size: 11px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
    opacity: 0.85;
}
.stat-card-link {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s;
}
.stat-card-link:hover { gap: 10px; }

/* ─── FEATURED CONTENT ──────────────────────────────── */

.featured-content { padding: var(--pad); overflow: hidden; }

.content-scroll-wrapper {
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(184,154,122,0.25) transparent;
}
.content-scroll-wrapper::-webkit-scrollbar { height: 3px; }
.content-scroll-wrapper::-webkit-scrollbar-track { background: transparent; }
.content-scroll-wrapper::-webkit-scrollbar-thumb { background: rgba(184,154,122,0.25); border-radius: 2px; }

.content-cards-row {
    display: flex;
    gap: 18px;
    min-width: max-content;
    padding-bottom: 4px;
}

.content-card {
    width: 268px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    background: var(--glass);
    border: 1px solid var(--glass-bdr);
    cursor: pointer;
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.content-card:hover {
    transform: translateY(-7px);
    border-color: rgba(184,154,122,0.28);
    box-shadow: 0 22px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(184,154,122,0.08);
}

.content-card-thumb {
    position: relative;
    height: 192px;
    overflow: hidden;
}
.thumb-bg {
    width: 100%;
    height: 100%;
    transition: transform var(--ease-slow);
}
.content-card:hover .thumb-bg { transform: scale(1.06); }

.thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,12,21,0.82) 0%, transparent 55%);
    z-index: 1;
}
.content-card-cat {
    position: absolute;
    top: 12px; left: 12px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(7,12,21,0.72);
    padding: 4px 10px;
    border-radius: 4px;
    backdrop-filter: blur(10px);
    z-index: 2;
}
.thumb-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(184,154,122,0.18);
    border: 1px solid rgba(184,154,122,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--accent);
    z-index: 2;
    transition: background var(--ease), color var(--ease), transform var(--ease);
    backdrop-filter: blur(10px);
    padding-left: 2px;
}
.content-card:hover .thumb-play {
    background: var(--accent);
    color: #080c14;
    transform: translate(-50%, -50%) scale(1.12);
}

.card-meta--hot { color: var(--accent); font-weight: 600; }

.thumb-views {
    position: absolute;
    bottom: 12px; right: 12px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--white);
    background: rgba(7,12,21,0.75);
    padding: 4px 9px;
    border-radius: 4px;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.content-card-info { padding: 18px 18px 20px; }
.content-card-info h3 {
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
    margin-bottom: 7px;
}
.card-meta {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* ─── WHY SECTION ───────────────────────────────────── */

.why-section {
    padding: var(--pad);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.why-bg-word {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--display);
    font-size: clamp(100px, 14vw, 190px);
    font-weight: 900;
    color: rgba(255,255,255,0.013);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    letter-spacing: -5px;
}
.why-content {
    position: relative;
    z-index: 1;
    max-width: 740px;
    margin: 0 auto;
}
.why-headline {
    font-family: var(--display);
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}
.why-headline em { font-style: italic; color: var(--accent); }
.why-body {
    font-size: 17.5px;
    line-height: 1.88;
    color: var(--text-sub);
    margin-bottom: 44px;
}
.why-pillars {
    display: flex;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}
.pillar {
    display: flex;
    align-items: center;
    gap: 9px;
}
.pillar-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}
.pillar-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--stone);
}

/* ─── STORY TIMELINE ────────────────────────────────── */

.story-section { padding: var(--pad); }

.timeline {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    padding-left: 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 24px;
    align-items: start;
}

.timeline-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 26px;
}

.timeline-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(184,154,122,0.15);
    border: 2px solid rgba(184,154,122,0.38);
    flex-shrink: 0;
    z-index: 1;
    transition: var(--ease);
}
.timeline-dot--active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 22px rgba(184,154,122,0.55);
}

.timeline-connector {
    width: 1px;
    flex: 1;
    min-height: 50px;
    background: linear-gradient(to bottom, rgba(184,154,122,0.35), rgba(184,154,122,0.08));
    margin-top: 6px;
}

.timeline-card {
    padding: 26px 30px;
    transition: transform var(--ease), box-shadow var(--ease);
}
.timeline-card:hover { transform: translateX(6px); }
.timeline-card--active {
    border-color: rgba(184,154,122,0.28) !important;
    background: rgba(184,154,122,0.05) !important;
}

.timeline-chapter {
    display: inline-block;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}
.timeline-card h3 {
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.3;
}
.timeline-card p {
    font-size: 14px;
    line-height: 1.72;
    color: var(--text-sub);
}

/* ─── COMMUNITY ─────────────────────────────────────── */

.community-section { padding: var(--pad); }

.fb-feed-wrapper {
    margin-bottom: 56px;
}
.fb-feed-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}
.fb-feed-label i { color: #6d8cc7; font-size: 14px; }
.fb-feed-label a { color: var(--accent); transition: color 0.3s; }
.fb-feed-label a:hover { color: var(--white); }

.fb-feed-frame {
    background: var(--glass);
    border: 1px solid var(--glass-bdr);
    border-radius: 16px;
    overflow: hidden;
    min-height: 540px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
}
.fb-feed-frame .fb-page { width: 100% !important; }

.community-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.community-divider::before,
.community-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.06);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.testimonial-card { padding: 26px 24px; }

.t-platform {
    width: 34px; height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-bottom: 14px;
}
.t-platform.fb-badge { background: rgba(59,89,152,0.18);  color: #6d8cc7; }
.t-platform.tt-badge { background: rgba(255,255,255,0.06); color: var(--stone); }
.t-platform.ig-badge { background: rgba(225,48,108,0.14);  color: #e1306c; }
.t-platform.yt-badge { background: rgba(255,0,0,0.12);     color: #ff4444; }

.t-text {
    font-family: var(--serif);
    font-size: 15.5px;
    line-height: 1.72;
    color: var(--stone);
    font-style: italic;
    margin-bottom: 18px;
}
.t-text::before {
    content: '\201C';
    color: var(--accent);
    font-size: 22px;
    font-family: var(--display);
    line-height: 0;
    vertical-align: -0.28em;
    margin-right: 3px;
}

.t-author { display: flex; align-items: center; gap: 11px; }
.t-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}
.t-info { display: flex; flex-direction: column; gap: 2px; }
.t-name { font-size: 12.5px; font-weight: 700; color: var(--white); }
.t-loc  { font-size: 11px; color: var(--text-muted); letter-spacing: 0.3px; }

/* ─── CATEGORIES ────────────────────────────────────── */

.categories-section { padding: var(--pad); }

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.cat-block {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 196px;
    cursor: pointer;
    border: 1px solid var(--glass-bdr);
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.cat-block:hover {
    transform: translateY(-5px);
    border-color: rgba(184,154,122,0.25);
    box-shadow: 0 20px 56px rgba(0,0,0,0.38);
}
.cat-bg {
    position: absolute;
    inset: 0;
    transition: transform var(--ease-slow);
}
.cat-block:hover .cat-bg { transform: scale(1.06); }
.cat-content {
    position: relative;
    z-index: 1;
    padding: 30px 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.cat-icon { font-size: 26px; margin-bottom: 14px; }
.cat-content h3 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 7px;
    line-height: 1.2;
}
.cat-content p { font-size: 12.5px; color: var(--text-sub); line-height: 1.6; margin-bottom: auto; }
.cat-count {
    display: inline-block;
    margin-top: 18px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
}

/* ─── FINAL CTA ─────────────────────────────────────── */

.cta-section {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
    text-align: center;
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #05101e 0%, #091524 40%, #040d18 100%);
}
.cta-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 50% 50%, rgba(184,154,122,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 15% 80%, rgba(145,77,57,0.06) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 85% 20%, rgba(99,109,68,0.06) 0%, transparent 50%);
}
.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 var(--gap);
}
.cta-headline {
    font-family: var(--display);
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.14;
    color: var(--white);
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}
.cta-headline em { font-style: italic; color: var(--accent); }
.cta-subtext {
    font-size: 16.5px;
    line-height: 1.78;
    color: var(--text-sub);
    margin-bottom: 44px;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.cta-social-row {
    display: flex;
    justify-content: center;
    gap: 14px;
}
.cta-soc-link {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-bdr);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--text-sub);
    transition: var(--ease);
}
.cta-soc-link:hover {
    background: rgba(184,154,122,0.1);
    border-color: rgba(184,154,122,0.38);
    color: var(--accent);
    transform: translateY(-4px);
}

/* ─── FOOTER ────────────────────────────────────────── */

.footer {
    padding: 60px 0 36px;
    border-top: 1px solid rgba(255,255,255,0.04);
    background: rgba(0,0,0,0.25);
}
.footer-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gap);
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.footer-brand { text-align: center; }
.footer-logo {
    font-family: var(--display);
    font-size: 26px;
    font-weight: 800;
    color: var(--white);
    display: block;
    margin-bottom: 7px;
}
.footer-tag {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    font-family: var(--serif);
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}
.footer-links a {
    font-size: 12.5px;
    color: var(--text-muted);
    transition: color 0.3s;
    letter-spacing: 0.2px;
}
.footer-links a:hover { color: var(--accent); }
.footer-social {
    display: flex;
    justify-content: center;
    gap: 18px;
}
.footer-social a {
    font-size: 15px;
    color: var(--text-muted);
    transition: color 0.3s, transform 0.3s;
}
.footer-social a:hover { color: var(--accent); transform: translateY(-3px); }
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-bottom span { font-size: 11.5px; color: var(--text-muted); letter-spacing: 0.2px; }

/* ─── RESPONSIVE: TABLET ────────────────────────────── */

@media (max-width: 1080px) {
    :root { --gap: 32px; }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 130px 32px 80px;
        gap: 56px;
    }
    .hero-left { max-width: 100%; }
    .hero-eyebrow { justify-content: center; }
    .hero-subtext { margin: 0 auto 36px; }
    .hero-stats { margin: 0 auto 36px; }
    .hero-buttons { justify-content: center; }
    .hero-right { order: -1; }
    .portrait-frame { width: 256px; height: 368px; }

    .stats-grid           { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid    { grid-template-columns: repeat(2, 1fr); }
    .categories-grid      { grid-template-columns: repeat(2, 1fr); }
}

/* ─── RESPONSIVE: MOBILE ────────────────────────────── */

@media (max-width: 768px) {
    :root {
        --pad: 80px 0;
        --gap: 24px;
    }

    /* Mobile nav */
    .nav-menu {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(5,10,20,0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        z-index: 700;
    }
    .nav-menu.open { display: flex; }
    .nav-menu .nav-link {
        font-family: var(--display);
        font-size: 26px;
        font-weight: 700;
        color: var(--white);
        letter-spacing: -0.3px;
    }
    .nav-menu .nav-link::after { display: none; }
    .nav-social { display: none; }
    .hamburger { display: flex; }
    .nav-container { padding: 0 24px; }

    .hero-container {
        padding: 110px 24px 70px;
        gap: 44px;
    }
    .hero-stats {
        flex-wrap: wrap;
        padding: 14px 16px;
        gap: 8px;
        justify-content: center;
    }
    .stat-item { padding: 0 10px; }
    .stat-divider { display: none; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

    .timeline-item { grid-template-columns: 1fr; }
    .timeline-left { display: none; }
    .timeline-card:hover { transform: none; }

    .hero-scroll-hint { display: none; }
    .cta-content { padding: 0 24px; }
    .footer-inner { padding: 0 24px; }
}

@media (max-width: 480px) {
    .hero-stats { width: 100%; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .categories-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .btn-primary, .btn-secondary { justify-content: center; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .portrait-frame { width: 220px; height: 316px; }
}
