/* =============================================================
   TS Fling — "Velvet Wine" design system
   Near-black with a warm rose undertone · crimson · wine · champagne gold
   ============================================================= */
:root {
    --tsf-bg:      #0A0306;
    --tsf-bg-2:    #14060B;
    --tsf-bg-3:    #1E0A12;
    --tsf-card:    rgba(255, 196, 204, 0.045);
    --tsf-card-2:  rgba(255, 36, 88, 0.08);
    --tsf-line:    rgba(255, 196, 204, 0.10);
    --tsf-line-2:  rgba(255, 36, 88, 0.32);
    --tsf-pink:    #FF2458;
    --tsf-pink-2:  #FF6B88;
    --tsf-pink-d:  #C01038;
    --tsf-violet:  #9B1B4A;
    --tsf-violet-2:#E8A0B4;
    --tsf-gold:    #E8C07A;
    --tsf-text:    #F8E8EE;
    --tsf-muted:   #D4B4BE;
    --tsf-dim:     #9A7A84;
    --tsf-grad:    linear-gradient(135deg, #FF2458 0%, #9B1B4A 100%);
    --tsf-grad-h:  linear-gradient(135deg, #FF4D73 0%, #C01038 100%);
    --tsf-glow:    0 10px 34px rgba(255, 36, 88, 0.38);
    --tsf-glow-lg: 0 0 0 1px rgba(255, 36, 88, 0.28), 0 18px 60px rgba(255, 36, 88, 0.32);
    --tsf-radius:  18px;
    --tsf-font-d:  'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --tsf-font-b:  'Outfit', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 106.25%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    font-family: var(--tsf-font-b);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--tsf-text);
    background-color: var(--tsf-bg);
    background-image:
        radial-gradient(1200px 600px at 85% -10%, rgba(155, 27, 74, 0.22), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(255, 36, 88, 0.16), transparent 60%);
    background-attachment: fixed;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--tsf-font-d);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.012em;
    line-height: 1.15;
}
h1 em, h2 em, h3 em, .tsf-em {
    font-style: italic;
    font-weight: 600;
    background: linear-gradient(90deg, #FF6B88 0%, #FF2458 45%, #E8C07A 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

a { color: var(--tsf-pink-2); text-decoration: none; transition: color .2s ease; }
a:hover { color: #fff; }
img { max-width: 100%; }
button { font-family: inherit; }

::selection { background: rgba(255, 36, 88, 0.35); color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
    outline: 2px solid rgba(255, 36, 88, 0.75);
    outline-offset: 3px;
    border-radius: 6px;
}

main { margin-top: 76px; }
body.home main, body.front-page main { margin-top: 0 !important; }

/* ── Shared layout helpers ───────────────────────────────── */
.tsf-container { max-width: 1240px; margin: 0 auto; padding: 0 5%; }
.tsf-section   { padding: 96px 0; position: relative; }
.tsf-section--tight { padding: 64px 0; }
.tsf-section--alt { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)); border-top: 1px solid var(--tsf-line); border-bottom: 1px solid var(--tsf-line); }
.tsf-center { text-align: center; }
.tsf-narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

.tsf-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--tsf-pink-2);
}
.tsf-eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--tsf-grad); }
.tsf-center .tsf-eyebrow::after { content: ''; width: 22px; height: 1px; background: var(--tsf-grad); }

.tsf-h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin: 14px 0 16px; }
.tsf-lead { font-size: 1.1rem; color: var(--tsf-muted); max-width: 680px; }
.tsf-center .tsf-lead { margin-left: auto; margin-right: auto; }

.tsf-card {
    background: var(--tsf-card);
    border: 1px solid var(--tsf-line);
    border-radius: var(--tsf-radius);
    backdrop-filter: blur(6px);
    box-shadow: inset 0 1px 0 rgba(232, 192, 122, 0.06);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.tsf-card:hover { transform: translateY(-4px); border-color: var(--tsf-line-2); box-shadow: var(--tsf-glow), inset 0 1px 0 rgba(232, 192, 122, 0.12); background: var(--tsf-card-2); }

.tsf-img { border-radius: var(--tsf-radius); overflow: hidden; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,0.55); }
.tsf-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tsf-img::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); pointer-events: none; }

/* ── Buttons ─────────────────────────────────────────────── */
.tsf-btn, .cta_signup, .cta_signin {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 0.7rem 1.5rem; border-radius: 999px;
    font-weight: 700; font-size: 0.9rem; letter-spacing: 0.01em; text-decoration: none;
    border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}
.tsf-btn--primary, .cta_signup {
    background: var(--tsf-grad); color: #fff; box-shadow: var(--tsf-glow);
}
.tsf-btn--primary:hover, .cta_signup:hover { background: var(--tsf-grad-h); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 44px rgba(255, 36, 88, 0.42); }
.tsf-btn--ghost, .cta_signin {
    background: rgba(255,255,255,0.04); color: #fff; border-color: rgba(255,255,255,0.22);
}
.tsf-btn--ghost:hover, .cta_signin:hover { border-color: var(--tsf-pink); color: #fff; background: rgba(255,36,88,0.10); }
.tsf-btn--lg { padding: 1rem 2.1rem; font-size: 1.02rem; }
.tsf-btn--gold { background: linear-gradient(135deg, #F7C873, #E8A94A); color: #2A1408; box-shadow: 0 10px 30px rgba(247, 200, 115, 0.28); }
.tsf-btn--gold:hover { color: #2A1408; transform: translateY(-2px); }

/* ── Pills / tags ───────────────────────────────────────── */
.tsf-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0.45rem 1rem; border-radius: 999px;
    font-size: 0.85rem; font-weight: 600; color: var(--tsf-text);
    background: rgba(255,255,255,0.05); border: 1px solid var(--tsf-line);
    transition: border-color .2s, background .2s, transform .2s;
}
.tsf-pill:hover { border-color: var(--tsf-pink); background: rgba(255,36,88,0.12); color: #fff; transform: translateY(-2px); }

/* ── Breadcrumb ─────────────────────────────────────────── */
.tsf-breadcrumb { font-size: 0.82rem; color: var(--tsf-dim); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tsf-breadcrumb a { color: var(--tsf-muted); }
.tsf-breadcrumb a:hover { color: var(--tsf-pink-2); }
.tsf-breadcrumb span[aria-hidden] { opacity: .5; }

/* ── CTA band (shared across pages) ─────────────────────── */
.tsf-cta-band {
    position: relative; overflow: hidden; text-align: center;
    padding: 84px 5%;
    background: radial-gradient(800px 400px at 50% 120%, rgba(255,36,88,0.35), transparent 70%), linear-gradient(180deg, #16070D, #0A0306);
    border-top: 1px solid var(--tsf-line);
}
.tsf-cta-band::before {
    content: ''; position: absolute; inset: -40% -20% auto; height: 60%;
    background: radial-gradient(closest-side, rgba(155,27,74,0.28), transparent);
    pointer-events: none;
}
.tsf-cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; position: relative; }
.tsf-cta-band p { color: var(--tsf-muted); max-width: 620px; margin: 0 auto 30px; font-size: 1.08rem; position: relative; }
.tsf-cta-band .tsf-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.tsf-cta-band .tsf-cta-fine { margin: 22px auto 0; font-size: 0.8rem; color: var(--tsf-dim); }

/* ── Page hero (interior pages) ─────────────────────────── */
.tsf-page-hero {
    position: relative; overflow: hidden;
    padding: 120px 0 72px; margin-top: -76px;
    min-height: 460px; display: flex; align-items: flex-end;
}
.tsf-page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.tsf-page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: saturate(1.1) contrast(1.02); }
.tsf-page-hero__bg::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(10,3,6,0.55) 0%, rgba(10,3,6,0.35) 40%, rgba(10,3,6,0.92) 85%, #0A0306 100%),
        linear-gradient(90deg, rgba(10,3,6,0.75) 0%, rgba(10,3,6,0.15) 60%);
}
.tsf-page-hero__inner { position: relative; z-index: 1; }
.tsf-page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 820px; margin: 16px 0 14px; text-shadow: 0 6px 30px rgba(0,0,0,0.5); }
.tsf-page-hero p.tsf-lead { color: #E9D6E2; max-width: 620px; font-size: 1.12rem; }
.tsf-page-hero .tsf-breadcrumb { margin-bottom: 8px; }

/* ── Header ─────────────────────────────────────────────── */
header#site-header {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0 1.5rem;
    padding: 0 2rem; height: 76px;
    position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 2000;
    transition: background .28s ease, box-shadow .28s ease, border-color .28s ease;
    border-bottom: 1px solid transparent;
}
header.header--page,
header.header--home.is-scrolled {
    background: rgba(10, 3, 6, 0.86);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom-color: var(--tsf-line);
    box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}
header.header--home { background: linear-gradient(180deg, rgba(10,3,6,0.55), rgba(10,3,6,0)); }

.logo { display: flex; align-items: center; }
.logo a { display: flex; align-items: center; transition: opacity .2s; }
.logo a:hover { opacity: .85; }
.logo-img { display: block; height: 58px; width: auto; max-width: 280px; object-fit: contain; }
#site-header.header--home .logo-img--white { display: block; }
#site-header.header--home .logo-img--dark  { display: none; }
#site-header.header--home.is-scrolled .logo-img--white,
#site-header.header--page .logo-img--white { display: none; }
#site-header.header--home.is-scrolled .logo-img--dark,
#site-header.header--page .logo-img--dark  { display: block; }

/* Desktop nav */
.site-nav { display: flex; align-items: center; justify-content: center; }
.site-nav__list { display: flex; align-items: center; list-style: none; }
.site-nav__link {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 0.5rem 0.9rem; font-size: 0.88rem; font-weight: 600; font-family: var(--tsf-font-b);
    color: rgba(255,255,255,0.86); background: none; border: none; cursor: pointer; border-radius: 8px;
    transition: color .2s, background .2s; white-space: nowrap;
}
.site-nav__link:hover, .site-nav__item--has-dropdown.is-open .site-nav__toggle { color: #fff; background: rgba(255,36,88,0.14); }
.site-nav__caret { font-size: 0.7rem; display: inline-block; transition: transform .2s; transform: translateY(-3px); }
.site-nav__item--has-dropdown.is-open .site-nav__caret { transform: rotate(180deg) translateY(-3px); }
.site-nav__item--has-dropdown { position: relative; }
.site-nav__dropdown {
    position: absolute; top: calc(100% + 10px); left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 230px; list-style: none; padding: 8px 0;
    background: rgba(20, 10, 26, 0.96); border: 1px solid var(--tsf-line-2); border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(255,36,88,0.12);
    backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; z-index: 3000;
}
.site-nav__item--has-dropdown.is-open .site-nav__dropdown { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.site-nav__dropdown li a { display: block; padding: 9px 18px; font-size: 0.88rem; color: rgba(255,255,255,0.85); transition: background .15s, color .15s; }
.site-nav__dropdown li a:hover { background: rgba(255,36,88,0.12); color: #fff; }
.site-nav__dropdown-divider { border-top: 1px solid var(--tsf-line); margin-top: 6px; padding-top: 6px; }
.site-nav__all-link { font-weight: 700 !important; color: var(--tsf-pink-2) !important; }

.header-right { display: flex; gap: 0.75rem; align-items: center; justify-content: flex-end; }

/* Hamburger */
.site-nav__hamburger {
    display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 42px; height: 42px; border: none; background: transparent; cursor: pointer; padding: 4px; border-radius: 8px;
}
.site-nav__hamburger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: #fff; transition: transform .28s, opacity .28s; }
.site-nav__hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav__hamburger.is-active span:nth-child(2) { opacity: 0; }
.site-nav__hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer { position: fixed; inset: 0; z-index: 4000; pointer-events: none; }
.mobile-drawer.is-open { pointer-events: auto; }
.mobile-drawer__overlay { position: absolute; inset: 0; background: rgba(6,2,8,0.7); opacity: 0; transition: opacity .28s; backdrop-filter: blur(4px); }
.mobile-drawer.is-open .mobile-drawer__overlay { opacity: 1; }
.mobile-drawer__panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw);
    background: linear-gradient(180deg, #18080F, #0A0306); border-left: 1px solid var(--tsf-line-2);
    overflow-y: auto; transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
    padding: 0 0 40px; display: flex; flex-direction: column;
}
.mobile-drawer.is-open .mobile-drawer__panel { transform: translateX(0); }
.mobile-drawer__close {
    align-self: flex-end; font-size: 1.7rem; line-height: 1; width: 44px; height: 44px;
    background: none; border: none; cursor: pointer; color: #fff; margin: 12px 10px 0 0; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}
.mobile-drawer__list { list-style: none; padding: 8px 0; flex: 1; }
.mobile-drawer__item a { display: block; padding: 13px 26px; font-size: 1rem; font-weight: 600; color: #fff; }
.mobile-drawer__item a:hover { background: rgba(255,36,88,0.12); color: var(--tsf-pink-2); }
.mobile-drawer__item--section { padding: 14px 26px 4px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--tsf-pink-2); }
.mobile-drawer__item--sub a { padding-left: 38px; font-size: 0.92rem; font-weight: 500; color: var(--tsf-muted); }
.mobile-drawer__divider { height: 1px; background: var(--tsf-line); margin: 8px 0; }
.mobile-drawer__cta { padding: 18px 26px 0; }
.mobile-drawer__cta .cta_signup { display: flex; width: 100%; text-align: center; }

/* ── Responsive header ──────────────────────────────────── */
@media (max-width: 960px) {
    header#site-header { grid-template-columns: auto auto; }
    .site-nav { display: none; }
    .site-nav__hamburger { display: flex; }
    .cta_signin--desktop { display: none; }
}
@media (min-width: 961px) {
    .site-nav__hamburger { display: none !important; }
    .mobile-drawer { display: none !important; }
}
@media (max-width: 768px) {
    html { font-size: 100%; }
    main { margin-top: 68px; }
    header#site-header { padding: 0 1rem; height: 68px; }
    .logo-img { height: 38px; }
    .cta_signup, .cta_signin { padding: 0.55rem 1rem; font-size: 0.85rem; }
    .tsf-section { padding: 64px 0; }
    .tsf-page-hero { margin-top: -68px; padding: 104px 0 56px; min-height: 400px; }
}
@media (max-width: 480px) {
    .logo-img { height: 34px; }
    .header-right { gap: .4rem; }
}
