/* =====================================================================
   TaxTalkpedia v7 — dark portal, mocha / champagne gold / burnt amber,
   with 3D tilt, depth and lively motion.
   ===================================================================== */
:root {
  --mocha: #5b4632;
  --gold: #f4d9a0;
  --amber: #c8792c;
  --amber-2: #dc8c3c;
  --amber-deep: #8f5218;

  --bg: #17110d;            /* page */
  --bg-2: #1e1611;          /* bars */
  --surface: #261c15;       /* cards */
  --surface-2: #30241a;
  --raise: #3a2b1f;
  --text: #f6ecdc;          /* 15:1 on bg */
  --text-2: #dccbb2;
  --muted: #b39f85;         /* 7:1 on bg */
  --line: rgba(244, 217, 160, .12);
  --line-2: rgba(244, 217, 160, .22);

  --wa: #c8792c;
  --r: 14px;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 12px 28px -12px rgba(0,0,0,.7), 0 2px 6px rgba(0,0,0,.35);
  --shadow-lift: 0 1px 0 rgba(255,255,255,.06) inset, 0 30px 60px -20px rgba(0,0,0,.85), 0 10px 22px -8px rgba(200,121,44,.25);
  --sans: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(1200px 600px at 85% -10%, rgba(91,70,50,.55), transparent 60%), radial-gradient(900px 500px at -10% 30%, rgba(200,121,44,.08), transparent 60%); background-attachment: fixed; }
img, video, iframe { max-width: 100%; display: block; }
a { color: var(--gold); }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; }
h2 { font: 600 1.15rem var(--sans); letter-spacing: .01em; color: var(--text); }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--bg); padding: .5rem 1rem; z-index: 999; }
.skip:focus { left: 1rem; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.eyebrow { margin: 0 0 .5rem; font: 600 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--amber-2); }

/* ---------- 3D raised buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .78rem 1.2rem; border-radius: 12px; border: 0;
  font: 600 .95rem/1.1 var(--sans); text-decoration: none; cursor: pointer; transform: translateY(0); transition: transform .12s ease, box-shadow .12s ease, filter .2s; }
.btn .ic { width: 1.1em; height: 1.1em; }
.btn-sm { padding: .55rem .9rem; font-size: .88rem; border-radius: 10px; }
.btn-gold { background: linear-gradient(180deg, #fbe7bd, var(--gold)); color: #2b1d12; box-shadow: 0 4px 0 #b99a5f, 0 10px 20px -6px rgba(244,217,160,.35); }
.btn-amber { background: linear-gradient(180deg, var(--amber-2), var(--amber)); color: #1d130c; box-shadow: 0 4px 0 var(--amber-deep), 0 10px 22px -6px rgba(200,121,44,.5); }
.btn-ghost { background: rgba(244,217,160,.06); color: var(--gold); box-shadow: inset 0 0 0 1px var(--line-2), 0 4px 0 rgba(0,0,0,.35); }
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(3px); }
.btn-gold:active { box-shadow: 0 1px 0 #b99a5f; }
.btn-amber:active { box-shadow: 0 1px 0 var(--amber-deep); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(23,17,13,.88); backdrop-filter: blur(14px) saturate(140%); transition: transform .3s ease; }
.nav.is-hidden { transform: translateY(-100%); }
.nav-in { display: flex; align-items: center; gap: 1.6rem; height: 68px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--text); flex: none; }
.brand-ring { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: conic-gradient(from 210deg, var(--amber), var(--gold), var(--amber));
  box-shadow: 0 6px 16px -4px rgba(200,121,44,.6), inset 0 -3px 6px rgba(0,0,0,.25); animation: spin-slow 14s linear infinite; }
.brand-ring > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); color: var(--gold); font: 700 .85rem var(--sans); animation: spin-slow 14s linear infinite reverse; }
.brand-name { font: 600 1.15rem var(--sans); letter-spacing: .01em; }
.nav-links { display: flex; gap: 1.3rem; }
.nav-links a { color: var(--text-2); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .15s; }
.nav-links a:hover, .nav-links a.on { color: var(--amber-2); }
.nav-search { flex: 1; display: flex; align-items: center; gap: .6rem; max-width: 460px; margin-left: auto; padding: 0 1rem; height: 42px; border-radius: 999px; background: var(--surface-2); color: var(--muted);
  box-shadow: inset 0 2px 6px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.04); }
.nav-search input, .search input { border: 0; outline: 0; background: transparent; color: var(--text); font: 400 .95rem var(--sans); width: 100%; }
.nav-search input::placeholder, .search input::placeholder { color: var(--muted); }
.nav-wa { flex: none; }

.subbar { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.subbar-in { display: flex; align-items: center; gap: 1.2rem; height: 50px; font-size: .9rem; }
.jump { display: flex; gap: .35rem; }
.jump button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 0; background: transparent; color: var(--text-2); cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.jump button:hover { background: var(--surface-2); color: var(--gold); transform: translateY(-2px); }
.jump .ic { width: 18px; height: 18px; }
.resume { display: inline-flex; align-items: center; gap: .45rem; margin-left: 1rem; border: 0; background: none; color: var(--text); font: 500 .9rem var(--sans); cursor: pointer; min-width: 0; }
.resume .ic { width: 16px; height: 16px; color: var(--amber-2); }
.resume-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 38ch; }
.resume:hover .resume-t { color: var(--gold); text-decoration: underline; }
.view-toggle { display: flex; gap: .2rem; margin-left: auto; }
.vt { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; }
.vt.is-on { color: var(--gold); background: var(--surface-2); }

/* ---------- Banner (profile) with parallax layers ---------- */
.banner { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 4.5rem) 0; perspective: 1200px; border-bottom: 1px solid var(--line); }
.banner-bg { position: absolute; inset: -40px; background: var(--mocha) center / cover; filter: blur(38px) saturate(1.15) brightness(.5); opacity: .7; transition: transform .25s ease-out; }
.banner-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,17,13,.2), var(--bg) 95%); }
.banner-glow { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; transition: transform .25s ease-out; }
.banner-glow.g1 { width: 380px; height: 380px; right: 8%; top: -120px; background: rgba(200,121,44,.35); animation: float 9s ease-in-out infinite; }
.banner-glow.g2 { width: 300px; height: 300px; left: -80px; bottom: -140px; background: rgba(244,217,160,.16); animation: float 11s ease-in-out infinite reverse; }
.banner-in { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 2.4rem; align-items: center; transform-style: preserve-3d; }
.banner-in > * { transition: transform .25s ease-out; }
.banner-avatar { position: relative; width: 168px; height: 168px; border-radius: 50%; padding: 5px; background: conic-gradient(from 200deg, var(--amber), var(--gold), var(--amber));
  box-shadow: 0 25px 50px -15px rgba(0,0,0,.8), 0 0 0 8px rgba(244,217,160,.06); }
.banner-avatar img, .banner-avatar > span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--bg); background: var(--surface-2); }
.banner-avatar > span { display: grid; place-items: center; font: 600 4rem var(--serif); color: var(--gold); }
.verified { position: absolute; right: 10px; bottom: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: #1d130c; border: 3px solid var(--bg); }
.verified .ic { width: 16px; height: 16px; stroke-width: 3; }
.banner h1 { font: 500 clamp(2.2rem, 4.6vw, 3.6rem)/1.08 var(--serif); letter-spacing: -.015em; margin-bottom: .4em; color: #fff; text-shadow: 0 6px 30px rgba(0,0,0,.45); }
.banner h1 em { font-style: italic; color: var(--gold); background: linear-gradient(90deg, var(--gold), var(--amber-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.08rem; color: var(--text-2); max-width: 56ch; margin: 0 0 1.6rem; }
.banner-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.banner-stats { display: grid; gap: .7rem; margin: 0; }
.banner-stats div { padding: .8rem 1.2rem; min-width: 120px; border-radius: 14px; background: linear-gradient(160deg, rgba(91,70,50,.65), rgba(38,28,21,.8)); box-shadow: var(--shadow); text-align: center; backdrop-filter: blur(6px); }
.banner-stats dt { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.banner-stats dd { margin: 0; font: 700 1.7rem/1.2 var(--sans); color: var(--gold); }

/* ---------- Shelves ---------- */
.shelves { padding-top: 2.2rem; }
.shelf { padding: 1rem 0 2.2rem; border-bottom: 1px solid var(--line); }
.shelf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.shelf-head h2 { margin: 0; }
.more { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); text-decoration: none; font-size: .92rem; transition: color .15s, gap .2s; }
.more:hover { color: var(--amber-2); gap: .6rem; }
.more .ic { width: 15px; height: 15px; }
.row-grid, .grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.8rem; perspective: 1400px; }

/* ---------- Cards with 3D tilt ---------- */
.card { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 0%; position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); text-decoration: none; color: var(--text);
  box-shadow: var(--shadow); transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .35s, translate .6s cubic-bezier(.2,.8,.2,1), rotate .6s cubic-bezier(.2,.8,.2,1), opacity .6s; will-change: transform; }
.card.tilting { transition: transform .08s linear, box-shadow .35s; box-shadow: var(--shadow-lift); }
.card:hover { box-shadow: var(--shadow-lift); }
.card.is-more, .card.is-filtered { display: none; }
.card.pre { opacity: 0; translate: 0 40px; rotate: x 14deg; }
.card.in { opacity: 1; translate: 0 0; rotate: x 0deg; }
.card-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: var(--r) var(--r) 0 0; background: linear-gradient(110deg, var(--surface-2) 30%, var(--raise) 50%, var(--surface-2) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.card-media.is-loaded, .card-media.is-broken, .card-media.li-cover { animation: none; }
.card-media.is-loaded, .card-media.is-broken { background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0; transform: scale(1.04); transition: opacity .45s, transform .8s cubic-bezier(.2,.8,.2,1); }
.card-media.is-loaded img { opacity: 1; transform: scale(1); }
.card:hover .card-media img { transform: scale(1.08); }
.card-media.is-broken img { display: none; }
.card-media.is-broken::after { content: "Open on Instagram"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .85rem; }
.card-media::before { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(23,17,13,.55)); z-index: 1; pointer-events: none; }
.li-cover { display: flex; flex-direction: column; justify-content: center; padding: 1.2rem 1.3rem 1.8rem; background: radial-gradient(400px 200px at 90% 0%, rgba(200,121,44,.4), transparent 60%), linear-gradient(150deg, var(--mocha), #2c2017); }
.li-quote { font: 600 3.4rem/0.6 var(--serif); color: var(--amber-2); margin-bottom: .2rem; }
.li-snippet { font: 500 1.02rem/1.35 var(--serif); color: var(--gold); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; position: relative; z-index: 2; }
.play { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; pointer-events: none; }
.play .ic { width: 50px; height: 50px; padding: 15px 13px 15px 17px; border-radius: 50%; background: rgba(23,17,13,.55); color: var(--gold); backdrop-filter: blur(6px); box-shadow: 0 0 0 2px rgba(244,217,160,.45); transition: transform .3s, background .3s; }
.card:hover .play .ic { transform: scale(1.12); background: var(--amber); color: #1d130c; }
.card-orb { position: absolute; left: 50%; top: calc(100% - 100% + 0px); z-index: 3; display: grid; place-items: center; width: 64px; height: 64px; margin-left: -32px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #4a3828, var(--mocha) 60%, #3d2e21); color: var(--gold); border: 4px solid var(--surface);
  box-shadow: 0 10px 22px -6px rgba(0,0,0,.75); transform: translateZ(45px); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.card-orb .ic { width: 26px; height: 26px; }
.card-orb.k-reel, .card-orb.k-video { background: radial-gradient(circle at 35% 30%, var(--amber-2), var(--amber) 60%, var(--amber-deep)); color: #1d130c; }
.card-orb.k-linkedin { background: radial-gradient(circle at 35% 30%, #fbe7bd, var(--gold) 60%, #c8ac72); color: var(--mocha); }
.card:hover .card-orb { transform: translateZ(60px) rotate(-8deg) scale(1.06); }
/* orb sits on the edge between image and body */
.card-media + .card-orb { top: auto; margin-top: -32px; position: relative; left: auto; align-self: center; margin-left: 0; }
.card-body { padding: .6rem 1.1rem 1.2rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; flex: 1; transform: translateZ(25px); }
.card-title { margin: 0; font: 600 1.02rem/1.3 var(--sans); color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cap { margin: 0; font-size: .86rem; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .35rem .7rem; margin-top: auto; padding-top: .5rem; font-size: .78rem; color: var(--muted); }
.pill { padding: .14rem .55rem; border-radius: 999px; font-weight: 600; font-size: .72rem; letter-spacing: .02em; background: rgba(244,217,160,.1); color: var(--gold); }
.pill.k-reel, .pill.k-video { background: rgba(200,121,44,.18); color: var(--amber-2); }
.src { display: inline-flex; align-items: center; gap: .3rem; }
.src .ic { width: 13px; height: 13px; }
.glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 4; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255,240,210,.22), transparent 45%); mix-blend-mode: soft-light; }
.tilting .glare, .card:hover .glare { opacity: 1; }

/* ---------- Library ---------- */
.library { padding: 2.6rem 0 2rem; scroll-margin-top: 130px; }
.tabs-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.filters { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.chip { border: 0; background: none; padding: .3rem 0; font: 500 .98rem var(--sans); color: var(--text-2); cursor: pointer; position: relative; transition: color .15s; }
.chip:hover { color: var(--gold); }
.chip.is-on { color: var(--amber-2); }
.chip.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1.2rem; height: 2px; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.search { display: flex; align-items: center; gap: .55rem; width: min(360px, 100%); height: 42px; padding: 0 1rem; border-radius: 999px; background: var(--surface-2); color: var(--muted); box-shadow: inset 0 2px 6px rgba(0,0,0,.4); }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: .4rem 0 1rem; }
.tag { border: 0; background: var(--surface); color: var(--text-2); font: 500 .82rem var(--sans); padding: .32rem .75rem; border-radius: 999px; cursor: pointer; box-shadow: 0 2px 0 rgba(0,0,0,.4); transition: .15s; }
.tag:hover, .tag.is-on { background: var(--mocha); color: var(--gold); transform: translateY(-2px); }
.result-info { font-size: .86rem; min-height: 1.4em; margin: 0 0 1.4rem; }
.grid { row-gap: 2.2rem; }
.loadmore { display: flex; justify-content: center; margin-top: 2.6rem; }
.empty { text-align: center; padding: 3.5rem 1rem; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.empty h3 { font: 600 1.4rem var(--sans); margin-bottom: .3rem; }
.empty p { margin: 0; }
.empty-orb { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--amber-2), var(--amber) 60%, var(--amber-deep)); color: #1d130c; box-shadow: 0 14px 30px -10px rgba(200,121,44,.6); animation: float 4s ease-in-out infinite; }
.empty-orb .ic { width: 28px; height: 28px; }

/* ---------- About ---------- */
.about { padding: 2rem 0 2.5rem; }
.about-card { --rx: 0deg; --ry: 0deg; position: relative; display: grid; grid-template-columns: auto 1fr; gap: 2.2rem; align-items: start; padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: 20px;
  background: linear-gradient(150deg, rgba(91,70,50,.6), var(--surface) 55%); box-shadow: var(--shadow); transform: perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.about-card.tilting { transition: transform .1s linear; }
.about-avatar { width: 120px; height: 120px; border-radius: 50%; padding: 4px; background: conic-gradient(from 200deg, var(--amber), var(--gold), var(--amber)); box-shadow: 0 18px 36px -12px rgba(0,0,0,.8); }
.about-avatar img, .about-avatar span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--surface); display: grid; place-items: center; background: var(--surface-2); color: var(--gold); font: 600 2.6rem var(--serif); }
.about-text h2 { font: 500 1.9rem/1.2 var(--serif); color: #fff; margin-bottom: .8rem; }
.about-text p { color: var(--text-2); margin: 0 0 .9rem; max-width: 70ch; }
.link { display: inline-flex; align-items: center; gap: .35rem; color: var(--amber-2); font-weight: 600; text-decoration: none; }
.link:hover { color: var(--gold); }

/* ---------- Contact ---------- */
.connect { padding: 1.5rem 0 3.5rem; }
.connect-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; perspective: 1200px; }
.cc { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 0%; position: relative; display: grid; justify-items: center; text-align: center; gap: .25rem; padding: 1.6rem 1.2rem 1.3rem; border-radius: 18px;
  background: var(--surface); color: var(--text); text-decoration: none; box-shadow: var(--shadow); transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.cc.tilting { transition: transform .08s linear; box-shadow: var(--shadow-lift); }
.cc-orb { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; margin-bottom: .6rem; color: var(--gold); background: radial-gradient(circle at 35% 30%, #4a3828, var(--mocha) 60%, #3d2e21);
  box-shadow: 0 12px 24px -8px rgba(0,0,0,.8); transform: translateZ(40px) rotate(-6deg); transition: transform .4s; }
.cc:hover .cc-orb { transform: translateZ(55px) rotate(0) scale(1.06); }
.cc-orb .ic { width: 28px; height: 28px; }
.cc-wa .cc-orb { background: radial-gradient(circle at 35% 30%, var(--amber-2), var(--amber) 60%, var(--amber-deep)); color: #1d130c; }
.cc-ig .cc-orb { background: radial-gradient(circle at 35% 30%, #fbe7bd, var(--gold) 60%, #c8ac72); color: var(--mocha); }
.cc strong { font: 600 1.1rem var(--sans); transform: translateZ(20px); }
.cc small { color: var(--muted); font-size: .88rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transform: translateZ(15px); }
.cc-go { display: inline-flex; align-items: center; gap: .35rem; margin-top: .7rem; font-weight: 600; font-size: .88rem; color: var(--amber-2); transform: translateZ(25px); transition: gap .2s; }
.cc:hover .cc-go { gap: .6rem; }
.cc-go .ic { width: 15px; height: 15px; }
.address { display: flex; align-items: center; gap: .5rem; margin-top: 1.4rem; }

/* ---------- Footer ---------- */
.foot { margin-top: 1rem; background: var(--bg-2); border-top: 1px solid var(--line); padding: 2.6rem 0 3rem; font-size: .88rem; }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: start; }
.foot-links { display: flex; gap: 1.4rem; padding-bottom: .9rem; margin-bottom: .9rem; border-bottom: 1px solid var(--line); }
.foot-links a { color: var(--text-2); text-decoration: none; }
.foot-links a:hover { color: var(--gold); }
.disclaimer { margin: 0 0 .4rem; color: var(--muted); max-width: 80ch; }
.foot .muted { margin: 0; }
.foot-social { display: flex; gap: .6rem; }
.foot-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface); color: var(--text-2); box-shadow: 0 3px 0 rgba(0,0,0,.4); transition: transform .15s, color .15s; }
.foot-social a:hover { transform: translateY(-3px); color: var(--gold); }

/* ---------- Floating WhatsApp ---------- */
.wa-fab { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 35; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--amber-2), var(--amber) 60%, var(--amber-deep)); color: #1d130c;
  box-shadow: 0 5px 0 var(--amber-deep), 0 16px 30px -8px rgba(200,121,44,.6); transition: transform .15s; animation: bob 3.5s ease-in-out infinite; }
.wa-fab::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(200,121,44,.5); animation: ring 2.4s ease-out infinite; }
.wa-fab:hover { transform: translateY(-3px) scale(1.05); }
.wa-fab .ic { width: 28px; height: 28px; }

/* ---------- Desktop viewer ---------- */
.viewer { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1.5rem; perspective: 1600px; }
.viewer[hidden] { display: none; }
.viewer-backdrop { position: absolute; inset: 0; background: rgba(10,7,5,.82); backdrop-filter: blur(8px); animation: fade .2s ease; }
.viewer-box { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); width: min(1120px, 100%); height: min(88vh, 780px);
  background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: 0 50px 100px -20px rgba(0,0,0,.9), 0 0 0 1px var(--line); animation: swing-in .45s cubic-bezier(.2,.9,.25,1.1); transform-origin: 50% 100%; }
.v-media { position: relative; background: #0d0907; display: grid; place-items: center; overflow: hidden; }
.v-media.is-li { background: #120d0a; overflow-y: auto; place-items: start center; padding: 1.2rem; }
.v-media iframe { width: 100%; max-width: 520px; min-height: 100%; border: 0; border-radius: 10px; background: #fff; }
.v-licard { align-self: center; max-width: 520px; padding: 2rem; border-radius: 16px; font: 500 1.35rem/1.45 var(--serif); color: var(--gold);
  background: radial-gradient(400px 200px at 90% 0%, rgba(200,121,44,.4), transparent 60%), linear-gradient(150deg, var(--mocha), #2c2017); box-shadow: var(--shadow); }
.v-licard .ic { width: 38px; height: 38px; color: var(--amber-2); margin-bottom: 1rem; }
.v-licard img { border-radius: 10px; margin-top: 1.2rem; }
.v-track { display: flex; width: 100%; height: 100%; transition: transform .35s ease; }
.v-slide { flex: 0 0 100%; display: grid; place-items: center; height: 100%; position: relative; }
.v-slide img, .v-slide video { max-height: 100%; max-width: 100%; object-fit: contain; }
.v-fallback { position: absolute; inset: auto 1rem 1.25rem; display: flex; justify-content: center; }
.v-note { position: absolute; top: 1rem; left: 1rem; right: 4rem; color: var(--text-2); font-size: .82rem; background: rgba(0,0,0,.55); padding: .45rem .75rem; border-radius: 8px; }
.v-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.v-arrow.prev { left: .8rem; } .v-arrow.next { right: .8rem; }
.v-dots { position: absolute; bottom: .9rem; left: 0; right: 0; display: flex; justify-content: center; gap: .35rem; z-index: 2; }
.v-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(244,217,160,.35); transition: .2s; }
.v-dots span.on { background: var(--amber); width: 20px; border-radius: 4px; }
.v-side { display: flex; flex-direction: column; min-height: 0; }
.v-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 3.8rem 1rem 1.5rem; border-bottom: 1px solid var(--line); }
.v-head time { color: var(--muted); font-size: .86rem; }
.v-cap { padding: 1.2rem 1.5rem; overflow-y: auto; flex: 1; white-space: pre-line; font-size: .97rem; line-height: 1.7; color: var(--text-2); }
.v-cap a { color: var(--amber-2); text-decoration: none; font-weight: 500; }
.v-cap a:hover { text-decoration: underline; }
.v-foot { padding: 1rem 1.5rem 1.3rem; border-top: 1px solid var(--line); display: grid; gap: .8rem; }
.v-nav { display: flex; align-items: center; justify-content: space-between; font-size: .86rem; margin-top: .2rem; }
.v-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 0; background: var(--surface-2); color: var(--text); cursor: pointer; box-shadow: 0 3px 0 rgba(0,0,0,.45); transition: transform .12s, color .12s; }
.v-btn:hover { transform: translateY(-2px); color: var(--gold); }
.v-btn:active { transform: translateY(2px); }
.v-btn .ic { width: 18px; height: 18px; }
.v-btn:disabled { opacity: .3; cursor: default; transform: none; }
.v-close { position: absolute; top: .9rem; right: .9rem; z-index: 3; }
.v-media .v-btn { background: rgba(23,17,13,.7); }
body.no-scroll { overflow: hidden; }

@keyframes shimmer { to { background-position: -150% 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes swing-in { from { opacity: 0; transform: rotateX(18deg) translateY(40px) scale(.96); } }
@keyframes float { 50% { translate: 0 -14px; } }
@keyframes bob { 50% { translate: 0 -5px; } }
@keyframes ring { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
@keyframes spin-slow { to { rotate: 360deg; } }

/* ---------- Compact grid ---------- */
.grid.dense { gap: 6px; perspective: none; }
.grid.dense .card { border-radius: 8px; transform: none; }
.grid.dense .card-orb, .grid.dense .card-body, .grid.dense .glare { display: none; }
.grid.dense .card-media { aspect-ratio: 3 / 4; border-radius: 8px; }
.grid.dense .li-snippet { font-size: .82rem; -webkit-line-clamp: 6; }

/* ---------- Tablet ---------- */
.tabbar, .feed-hint { display: none; }
@media (max-width: 1100px) {
  .row-grid, .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .row-grid > .card:nth-child(4) { display: none; }
  .nav-links { display: none; }
  .banner-in { grid-template-columns: auto 1fr; }
  .banner-stats { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .nav-wa span { display: none; }
  .resume { display: none; }
  .banner-in { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1.4rem; }
  .banner-cta { justify-content: center; }
  .lead { margin-inline: auto; }
  .about-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .foot-in { grid-template-columns: 1fr; }
}

/* ---------- Phone ---------- */
@media (max-width: 767px) {
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .wrap { width: min(1180px, 100% - 1.8rem); }
  .nav-in { height: 60px; gap: .8rem; }
  .brand-name { display: none; }
  .nav-search { height: 40px; }
  .subbar-in { height: 46px; gap: .6rem; }
  .subbar .muted { display: none; }
  .banner { padding: 1.8rem 0 2.2rem; }
  .banner-avatar { width: 120px; height: 120px; }
  .verified { width: 28px; height: 28px; right: 4px; bottom: 6px; }
  .banner h1 { font-size: 2.1rem; }
  .lead { font-size: 1rem; }
  .banner-cta .btn { flex: 1 1 calc(50% - .8rem); }
  .banner-stats div { min-width: 0; padding: .6rem .4rem; }
  .banner-stats dd { font-size: 1.35rem; }

  .shelf { padding-bottom: 1.6rem; }
  .row-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; margin: 0 -.9rem; padding: .4rem .9rem 1.2rem; scrollbar-width: none; perspective: none; }
  .row-grid::-webkit-scrollbar { display: none; }
  .row-grid > .card { flex: 0 0 72%; scroll-snap-align: start; }
  .row-grid > .card:nth-child(4) { display: flex; }

  .library { scroll-margin-top: 110px; }
  .tabs-row { position: sticky; top: 0; z-index: 20; margin: 0 -.9rem 1rem; padding: .8rem .9rem; background: rgba(23,17,13,.96); backdrop-filter: blur(12px); gap: .7rem; transition: top .3s ease; }
  body.nav-shown .tabs-row { top: 106px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 1.2rem; width: 100%; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }
  .chip.is-on::after { bottom: -.4rem; }
  .search { width: 100%; }
  .tags { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -.9rem 1rem; padding: 0 .9rem; }
  .tags::-webkit-scrollbar { display: none; }
  .tag { white-space: nowrap; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem .8rem; perspective: none; }
  .grid.dense { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; margin-inline: -.9rem; }
  .grid.dense .card, .grid.dense .card-media { border-radius: 0; }
  .grid .card-orb { width: 48px; height: 48px; margin-top: -24px; border-width: 3px; }
  .grid .card-orb .ic { width: 20px; height: 20px; }
  .grid .card-body { padding: .4rem .6rem .9rem; }
  .grid .card-title { font-size: .9rem; }
  .grid .cap { display: none; }
  .grid .card-foot .src, .grid .card-foot time { display: none; }
  .card { transform: none; }

  .connect-grid { grid-template-columns: 1fr 1fr; gap: .9rem; }
  .cc { padding: 1.2rem .8rem 1rem; }
  .cc-orb { width: 52px; height: 52px; }
  .wa-fab { right: 1rem; bottom: calc(92px + env(safe-area-inset-bottom)); width: 54px; height: 54px; }

  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; position: fixed; left: .7rem; right: .7rem; bottom: calc(.6rem + env(safe-area-inset-bottom));
    z-index: 40; height: 64px; padding: 0 .3rem; border-radius: 20px; background: rgba(38,28,21,.96); backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--line) inset, 0 16px 36px rgba(0,0,0,.6); }
  .tabbar > a, .tabbar > button { display: grid; justify-items: center; gap: 2px; color: var(--muted); text-decoration: none; background: none; border: 0; font: 500 .66rem var(--sans); cursor: pointer; padding: .3rem 0; }
  .tabbar .ic { width: 22px; height: 22px; }
  .tabbar .is-on { color: var(--gold); }
  .tab-play { justify-self: center; width: 56px; height: 56px; border-radius: 50% !important; transform: translateY(-16px);
    background: radial-gradient(circle at 35% 30%, var(--amber-2), var(--amber) 60%, var(--amber-deep)) !important; color: #1d130c !important; box-shadow: 0 5px 0 var(--amber-deep), 0 12px 24px -6px rgba(200,121,44,.6); display: grid !important; place-items: center; }
}

/* ---------- Full-screen feed (phone) ---------- */
.feed { position: fixed; inset: 0; z-index: 120; background: #0d0907; color: #fff; overscroll-behavior: contain; }
.feed[hidden] { display: none; }
.feed-top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: calc(.6rem + env(safe-area-inset-top)) .9rem .6rem; background: linear-gradient(rgba(13,9,7,.75), transparent); pointer-events: none; }
.feed-top > * { pointer-events: auto; }
.feed-brand { font: 600 1rem var(--sans); color: var(--gold); }
.feed-count { font: 600 .78rem var(--sans); font-variant-numeric: tabular-nums; color: #1d130c; background: var(--gold); padding: .25rem .6rem; border-radius: 999px; }
.feed-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 0; background: rgba(244,217,160,.14); color: var(--gold); cursor: pointer; backdrop-filter: blur(6px); }
.feed-btn .ic { width: 22px; height: 22px; }
.feed-rail { position: absolute; right: 5px; top: 22%; bottom: 22%; width: 3px; border-radius: 3px; background: rgba(244,217,160,.15); z-index: 5; }
.feed-rail span { display: block; width: 100%; border-radius: 3px; background: var(--amber); box-shadow: 0 0 10px var(--amber); height: 0; transition: height .35s ease; }
.feed-track { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.feed-track::-webkit-scrollbar { display: none; }
.reel { position: relative; height: 100%; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.reel-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(34px) brightness(.42) saturate(1.2); transform: scale(1.1); }
.reel.is-li .reel-bg { filter: none; transform: none; inset: 0; background: radial-gradient(500px 380px at 85% 8%, rgba(200,121,44,.45), transparent 60%), linear-gradient(170deg, var(--mocha), #1b130e); }
.reel-swipe { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reel-swipe::-webkit-scrollbar { display: none; }
.reel-item { flex: 0 0 100%; height: 100%; display: grid; place-items: center; scroll-snap-align: center; position: relative; }
.reel-item img, .reel-item video { width: 100%; max-height: 100%; object-fit: contain; }
.reel-item.is-video video { height: 100%; object-fit: cover; }
.reel-item .reel-poster { opacity: .85; }
.reel-litext { padding: 5rem 1.5rem 15rem; align-self: start; display: grid; gap: 1rem; }
.reel-litext .ic { width: 42px; height: 42px; color: var(--amber-2); }
.reel-litext p { margin: 0; font: 500 1.6rem/1.3 var(--serif); color: var(--gold); display: -webkit-box; -webkit-line-clamp: 10; -webkit-box-orient: vertical; overflow: hidden; }
.reel-litext img { border-radius: 14px; max-height: 30vh; object-fit: cover; width: 100%; }
.reel-watch { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: .55rem; padding: .9rem 1.25rem; border-radius: 14px;
  background: linear-gradient(180deg, #fbe7bd, var(--gold)); color: #2b1d12; font: 600 .92rem var(--sans); text-decoration: none; box-shadow: 0 4px 0 #b99a5f, 0 14px 30px rgba(0,0,0,.4); white-space: nowrap; }
.reel-watch small { display: block; font-weight: 400; font-size: .72rem; opacity: .75; }
.reel-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: linear-gradient(transparent, rgba(13,9,7,.6) 40%, rgba(13,9,7,.95)); pointer-events: none; }
.reel-dots { position: absolute; top: calc(4.2rem + env(safe-area-inset-top)); left: 0; right: 0; display: flex; justify-content: center; gap: 4px; z-index: 3; }
.reel-dots i { width: 22px; height: 3px; border-radius: 3px; background: rgba(244,217,160,.3); }
.reel-dots i.on { background: var(--amber); }
.reel-sound { position: absolute; right: .9rem; top: calc(4.2rem + env(safe-area-inset-top)); z-index: 4; }
.reel-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 0 1rem calc(1rem + env(safe-area-inset-bottom)); }
.reel-meta { display: flex; align-items: center; gap: .5rem; margin-bottom: .55rem; font-size: .8rem; color: var(--text-2); }
.reel-kind { display: inline-flex; align-items: center; gap: .3rem; background: rgba(200,121,44,.22); color: var(--amber-2); padding: .2rem .55rem; border-radius: 8px; font-weight: 600; }
.reel-kind.li { background: rgba(244,217,160,.16); color: var(--gold); }
.reel-kind .ic { width: 13px; height: 13px; }
.reel-num { font: 600 2rem/1 var(--serif); color: var(--gold); margin-right: .1rem; }
.reel-cap { margin: 0 0 .85rem; font-size: .93rem; line-height: 1.5; color: #f3e9da; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.reel-cap.open { -webkit-line-clamp: unset; max-height: 40vh; overflow-y: auto; }
.reel-cap a { color: var(--gold); text-decoration: none; }
.reel-more { color: var(--muted); font-size: .8rem; background: none; border: 0; padding: 0; margin: -.6rem 0 .8rem; cursor: pointer; }
.reel-actions { display: grid; grid-template-columns: 1fr auto auto auto; gap: .5rem; }
.reel-actions a, .reel-actions button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; height: 48px; border-radius: 14px; border: 0;
  background: rgba(244,217,160,.12); color: var(--gold); font: 600 .88rem var(--sans); text-decoration: none; padding: 0 1rem; cursor: pointer; backdrop-filter: blur(8px); box-shadow: 0 3px 0 rgba(0,0,0,.5); }
.reel-actions .primary { background: linear-gradient(180deg, #fbe7bd, var(--gold)); color: #2b1d12; box-shadow: 0 4px 0 #b99a5f; }
.reel-actions .wa { background: linear-gradient(180deg, var(--amber-2), var(--amber)); color: #1d130c; width: 48px; padding: 0; box-shadow: 0 4px 0 var(--amber-deep); }
.reel-actions button { width: 48px; padding: 0; }
.reel-actions .ic { width: 19px; height: 19px; }
.feed-hint { position: absolute; left: 50%; bottom: calc(11rem + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 6; align-items: center; gap: .35rem;
  margin: 0; padding: .45rem .9rem; border-radius: 999px; background: rgba(13,9,7,.7); color: var(--gold); font-size: .8rem; animation: hint 1.6s ease-in-out infinite; pointer-events: none; }
.feed-hint.show { display: flex; }
.feed-hint .ic { width: 16px; height: 16px; }
.toast { position: fixed; left: 50%; bottom: calc(6.5rem + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 200; background: var(--gold); color: #2b1d12; padding: .6rem 1.05rem;
  border-radius: 999px; font: 600 .86rem var(--sans); box-shadow: 0 10px 30px rgba(0,0,0,.5); animation: fade .2s ease; }
body.feed-open { overflow: hidden; }
@keyframes hint { 50% { transform: translate(-50%, -8px); } }

@media (max-width: 767px) {
  .viewer { padding: 0; }
  .viewer-box { grid-template-columns: 1fr; grid-template-rows: minmax(0, 58vh) minmax(0, 1fr); height: 100%; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .card-media img { opacity: 1; }
  .card { transform: none !important; }
}
