/* ==========================================================================
   v10 — Team workspace, approvals, Apple-style footer, search, ambient, cursor
   ========================================================================== */

/* ---------- Team member workspace ---------- */
.tm { --mc: #2f6b5e; min-height: 100vh; background: radial-gradient(80% 50% at 50% -10%, color-mix(in srgb, var(--mc) 14%, transparent), transparent 70%), var(--bg); }
.tm-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 62px; padding: 0 22px; background: rgba(247,247,244,.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.tm-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 15px; }
.tm-brand img { height: 26px; width: auto; max-width: 140px; object-fit: contain; filter: brightness(0); }
.tm-brand span { font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--mc) 14%, transparent); color: var(--mc); }
.tm-me { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.tm-av { width: 34px; height: 34px; border-radius: 50%; background: var(--mc); color: #fff; display: inline-grid; place-items: center; font-size: 13px; font-weight: 700; flex-shrink: 0; letter-spacing: .02em; }
.tm-av.lg { width: 64px; height: 64px; font-size: 22px; }
.tm-av.sm { width: 24px; height: 24px; font-size: 10px; }
.tm-page { max-width: 1100px; margin: 0 auto; padding: 44px 22px 100px; }
.tm-kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mc); margin: 0 0 12px; }
.tm-hero h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -.045em; line-height: 1.04; margin: 0 0 10px; }
.tm-hero p { color: var(--ink-2); font-size: 17px; margin: 0; max-width: 560px; }
.tm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px 0 40px; }
.tm-stats div { padding: 20px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.tm-stats b { display: block; font-size: 32px; letter-spacing: -.04em; line-height: 1; margin-bottom: 6px; }
.tm-stats span { font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.tm-stats span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.tm-stats .pending span::before { background: #3a5ba0; } .tm-stats .changes span::before { background: var(--amber); } .tm-stats .approved span::before { background: var(--ok); }
@media (max-width: 600px) { .tm-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; } .tm-stats div { padding: 14px; } .tm-stats b { font-size: 24px; } .tm-stats span { font-size: 11.5px; } }
.tm-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .tm-cols { grid-template-columns: 1fr; } }
.tm-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tm-h h2 { font-size: 19px; letter-spacing: -.025em; margin: 0; }
.tm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.tm-gal { display: block; text-decoration: none; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .3s var(--ease), box-shadow .3s; }
.tm-gal:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.tm-gal-img { position: relative; aspect-ratio: 16/10; background: var(--mist); display: grid; place-items: center; color: var(--ink-3); }
.tm-gal-img img { width: 100%; height: 100%; object-fit: cover; }
.tm-gal-img svg { width: 30px; height: 30px; }
.tm-flag { position: absolute; left: 10px; top: 10px; font-style: normal; font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--amber); color: #fff; }
.tm-gal-b { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; }
.tm-gal-b b { font-size: 15.5px; letter-spacing: -.015em; }
.tm-gal-b > span { font-size: 13px; color: var(--ink-2); }
.tm-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tm-chips i { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--mist); color: var(--ink-2); }
.tm-chips i.soft { color: var(--ink-3); font-weight: 500; }
.tm-chips i.pending { background: #eaf0fb; color: #3a5ba0; }
.tm-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 40px 20px; border-radius: var(--r-lg); border: 1.5px dashed var(--line-2); color: var(--ink-2); font-size: 14px; }
.tm-empty svg { width: 30px; height: 30px; color: var(--ink-3); margin-bottom: 4px; }
.tm-empty b { color: var(--ink); font-size: 15px; }
.tm-empty.sm { padding: 26px 18px; font-size: 13px; }
.tm-feed { display: flex; flex-direction: column; gap: 8px; }
.tm-up { display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: box-shadow .2s; }
.tm-up:hover { box-shadow: var(--sh-2); }
.tm-up-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--ok-50); color: var(--ok); }
.tm-up.changes .tm-up-ic { background: var(--amber-50); color: var(--amber); }
.tm-up-ic svg { width: 16px; height: 16px; }
.tm-up b { display: block; font-size: 13.5px; }
.tm-up p { margin: 3px 0; font-size: 13px; color: var(--ink-2); }
.tm-up small { font-size: 12px; color: var(--ink-3); }
.tm-back { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; margin-bottom: 20px; }
.tm-back svg { width: 16px; height: 16px; }
.tm-ghead { display: flex; gap: 20px; align-items: center; margin-bottom: 26px; }
.tm-ghead img { width: 120px; height: 90px; object-fit: cover; border-radius: 16px; box-shadow: var(--sh-2); }
.tm-ghead h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.04em; margin: 0 0 4px; line-height: 1.05; }
.tm-ghead p { margin: 0; color: var(--ink-2); font-size: 14px; }
.tm-ghead .tm-kicker { margin-bottom: 6px; }
.tm-drop-wrap { padding: 20px; border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-1); margin-bottom: 36px; }
.tm-note { display: block; margin-bottom: 14px; }
.tm-note > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.tm-note small { font-weight: 400; color: var(--ink-3); }
.tm-note textarea { width: 100%; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); padding: 10px 12px; font-size: 14.5px; resize: vertical; }
.tm-note textarea:focus { outline: none; border-color: var(--mc); }
.tm-drop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 38px 20px; border-radius: 20px; border: 1.5px dashed color-mix(in srgb, var(--mc) 40%, var(--line-2)); background: color-mix(in srgb, var(--mc) 5%, transparent); cursor: pointer; text-align: center; transition: all .2s; }
.tm-drop:hover, .tm-drop.over { background: color-mix(in srgb, var(--mc) 11%, transparent); border-color: var(--mc); }
.tm-drop-ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--mc); color: #fff; margin-bottom: 10px; box-shadow: 0 10px 24px color-mix(in srgb, var(--mc) 35%, transparent); }
.tm-drop-ic svg { width: 24px; height: 24px; }
.tm-drop b { font-size: 16px; }
.tm-drop > span:last-child { font-size: 13px; color: var(--ink-3); }
.tm-list { display: flex; flex-direction: column; gap: 10px; }
.tm-item { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; align-items: center; padding: 12px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.tm-item.changes { border-color: #f1dfbd; background: linear-gradient(90deg, var(--amber-50), var(--paper) 50%); }
@media (max-width: 600px) { .tm-item { grid-template-columns: 72px 1fr; } .tm-item-a { grid-column: 1 / -1; } }
.tm-th { position: relative; width: 100%; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: var(--mist); }
.tm-th img { width: 100%; height: 100%; object-fit: cover; }
.tm-th span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.25); opacity: 0; transition: opacity .2s; }
.tm-th:hover span { opacity: 1; }
.tm-th svg { width: 22px; height: 22px; }
.tm-item-b { min-width: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.tm-item-b b { width: 100%; font-size: 15px; letter-spacing: -.01em; }
.tm-item-b small { width: 100%; font-size: 12px; color: var(--ink-3); }
.tm-pill { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.tm-pill.pending { background: #eaf0fb; color: #3a5ba0; } .tm-pill.changes { background: var(--amber); color: #fff; } .tm-pill.approved { background: var(--ok-50); color: var(--ok); }
.tm-ver { font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.tm-fb { width: 100%; display: flex; gap: 8px; margin: 4px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--paper); font-size: 14px; box-shadow: inset 0 0 0 1px #f1dfbd; }
.tm-fb svg { width: 16px; height: 16px; color: var(--amber); flex-shrink: 0; margin-top: 2px; }
.tm-mynote { width: 100%; margin: 0; font-size: 13px; color: var(--ink-2); }
.tm-item-a { display: flex; gap: 6px; }
.tm-player video { width: 100%; max-height: 70vh; border-radius: 14px; background: #000; }
.tm-gate { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(70% 60% at 50% 20%, color-mix(in srgb, var(--mc, #2f6b5e) 16%, transparent), transparent), var(--bg); }
.tm-card { width: min(400px, 100%); text-align: center; background: var(--paper); border-radius: 28px; padding: 36px 30px 28px; box-shadow: var(--sh-4); border: 1px solid var(--line); }
.tm-card h1 { font-size: 28px; letter-spacing: -.04em; margin: 18px 0 6px; }
.tm-card > p { color: var(--ink-2); margin: 0 0 22px; }
.tm-card .input-wrap { text-align: left; }
.tm-studio { margin-bottom: 22px; font-size: 15px; }
.tm-studio img { height: 30px; margin: 0 auto; filter: brightness(0); }
.tm-fine { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--ink-3); margin: 16px 0 0; }
.tm-fine svg { width: 13px; height: 13px; }
.tm-lock { width: 56px; height: 56px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--mist); color: var(--ink-2); }
.tm-lock svg { width: 24px; height: 24px; }

/* ---------- Owner: team settings ---------- */
.team-list { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 16px; }
.team-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.team-b { flex: 1; min-width: 0; }
.team-b b { display: block; font-size: 14.5px; }
.team-b small { display: block; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px; border-radius: 16px; border: 1.5px dashed var(--line-2); text-align: center; font-size: 13.5px; color: var(--ink-2); }
.team-empty svg { width: 26px; height: 26px; color: var(--ink-3); }
.team-empty b { color: var(--ink); }
.invite-head { display: flex; gap: 14px; align-items: center; }
.input.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .04em; }
.team-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.tchip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 6px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 500; transition: all .2s; }
.tchip i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); color: transparent; }
.tchip i svg { width: 11px; height: 11px; }
.tchip.on { border-color: var(--sage); background: var(--sage-50); }
.tchip.on i { background: var(--sage); border-color: var(--sage); color: #fff; }
.review-banner { display: flex; gap: 12px; align-items: center; margin: 18px 0 0; padding: 14px 14px 14px 16px; border-radius: 16px; background: #eef3fc; border: 1px solid #d6e1f6; }
.review-banner > svg { width: 20px; height: 20px; color: #3a5ba0; flex-shrink: 0; }
.review-banner div { flex: 1; display: flex; flex-direction: column; font-size: 13px; color: var(--ink-2); }
.review-banner b { color: var(--ink); font-size: 14px; }
.vid.is-pending { border-color: #c8d6f2; box-shadow: 0 0 0 3px #eef3fc; }
.vid.is-changes { border-color: #f1dfbd; }
.vid-review { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 0 0 10px; margin-bottom: 2px; border-bottom: 1px solid var(--line); }
.vr-b { flex: 1; min-width: 160px; display: flex; flex-direction: column; font-size: 12.5px; color: var(--ink-2); }
.vr-b b { color: var(--ink); font-size: 13px; }
.pill.review { background: #eaf0fb; color: #3a5ba0; }
.list-item .ic-c.team-ic { background: #eaf0fb; color: #3a5ba0; }

/* ---------- Apple-style booking footer ---------- */
.cg-book { padding: 40px 24px 30px; }
.bk-btn { height: 44px; padding: 0 22px; gap: 0; font-size: 15px; font-weight: 500; letter-spacing: -.01em; text-transform: none; background: var(--accent); color: var(--btn-fg); box-shadow: none; }
.bk-btn:hover { transform: none; gap: 0; box-shadow: none; filter: brightness(1.08); }
.bk-btn:active { transform: scale(.97); }
.bk-links { gap: 26px; border-top: 0; padding-top: 0; margin-top: 18px; }
.bk-links a { height: auto; padding: 0; box-shadow: none; border-radius: 0; font-size: 15px; font-weight: 400; color: var(--accent); gap: 4px; }
.cg[data-theme="ivory"] .bk-links a, .cg[data-theme="noir"] .bk-links a { color: var(--fg); }
.bk-links a:hover { background: none; box-shadow: none; text-decoration: underline; text-underline-offset: 3px; }
.bk-links a span { font-size: 19px; line-height: 1; transform: translateY(-1px); }

/* ---------- Account label, sidebar search ---------- */
.acct-btn { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 3px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-size: 13px; font-weight: 600; }
.acct-btn .avatar { width: 28px; height: 28px; font-size: 11px; }
.me { position: relative; }
.me-cta { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--sage-700); padding: 4px 10px; border-radius: 999px; background: var(--sage-50); }
.side-search { display: flex; align-items: center; gap: 10px; height: 38px; margin: 0 4px 12px; padding: 0 10px; border-radius: 11px; background: rgba(118,118,128,.1); color: var(--ink-3); font-size: 14px; transition: background .2s; }
.side-search:hover { background: rgba(118,118,128,.16); }
.side-search svg { width: 17px; height: 17px; }
.side-search span { flex: 1; text-align: left; }
.side-search kbd, .pal kbd { font: 600 11px var(--font); padding: 2px 6px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-3); }

/* ---------- ⌘K palette ---------- */
.pal-bg { position: fixed; inset: 0; z-index: 700; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; background: rgba(15,23,20,0); transition: background .18s; }
.pal-bg.in { background: rgba(15,23,20,.35); backdrop-filter: blur(4px); }
.pal { width: min(620px, 100%); border-radius: 20px; background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(30px); box-shadow: 0 30px 80px rgba(0,0,0,.25), 0 0 0 1px var(--line); overflow: hidden; transform: translateY(-8px) scale(.98); opacity: 0; transition: transform .25s var(--spring), opacity .18s; }
.pal-bg.in .pal { transform: none; opacity: 1; }
.pal-in { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.pal-in svg { width: 20px; height: 20px; color: var(--ink-3); }
.pal-in input { flex: 1; border: 0; outline: none; background: transparent; font-size: 18px; letter-spacing: -.01em; }
.pal-list { max-height: 50vh; overflow-y: auto; padding: 6px; }
.pal-k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 10px 12px 4px; }
.pal-i { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border-radius: 12px; text-align: left; }
.pal-i.on { background: var(--sage-50); }
.pal-i img, .pal-ic { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; flex-shrink: 0; }
.pal-ic { display: grid; place-items: center; background: var(--mist); color: var(--ink-2); }
.pal-ic svg { width: 17px; height: 17px; }
.pal-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pal-t b { font-size: 14.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pal-t small { font-size: 12px; color: var(--ink-3); }
.pal-i > svg:last-child { width: 15px; height: 15px; color: var(--ink-3); opacity: 0; }
.pal-i.on > svg:last-child { opacity: 1; }
.pal-none { padding: 30px; text-align: center; color: var(--ink-3); font-size: 14px; }
.pal-foot { display: flex; gap: 18px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.pal-foot kbd { margin-right: 2px; }
@media (max-width: 600px) { .pal-foot { display: none; } }

/* ---------- Brand: button size preview ---------- */
.cta-pv { margin-top: 12px; padding: 26px; border-radius: 16px; background: linear-gradient(135deg, #3d4a44, #1d2622); display: grid; place-items: start; }
.cta-demo { display: inline-flex; align-items: center; gap: 12px; height: calc(56px * var(--cs, 1)); padding: 0 calc(26px * var(--cs, 1)) 0 calc(7px * var(--cs, 1)); border-radius: 999px; background: #fff; color: #111; font-size: calc(15px * var(--cs, 1)); font-weight: 600; transition: all .15s; }
.cta-demo .cta-ic { width: calc(42px * var(--cs, 1)); height: calc(42px * var(--cs, 1)); border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; }
.cta-demo .cta-ic svg { width: 16px; height: 16px; margin-left: 2px; }

/* ---------- Client: ambient glow + looping reels ---------- */
.cg-body { position: relative; }
.cg-body::before { content: ""; position: absolute; left: 50%; top: -40px; width: min(1200px, 120vw); height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--amb, transparent) 22%, transparent), transparent); pointer-events: none; z-index: 0; transition: background 1s; }
.cg-body > * { position: relative; z-index: 1; }
.reel.clone .reel-poster { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Portfolio: View cursor ---------- */
.pf-cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; }
.pf-cursor span { display: grid; place-items: center; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); color: #111; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transform: scale(0); transition: transform .35s var(--spring); box-shadow: 0 14px 40px rgba(0,0,0,.25); }
.pf-cursor.on span { transform: scale(1); }
.pf-card, .pf-feature-img, .st-next { cursor: none; }
@media (hover: none) { .pf-card, .pf-feature-img, .st-next { cursor: pointer; } }

/* =================== v11 =================== */
/* cover tone card (editor) */
.tone-card { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 12px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--paper); transition: all .25s; }
.tone-card.on { border-color: var(--sage); box-shadow: 0 0 0 3px var(--sage-50); }
.tone-art { position: relative; width: 66px; height: 66px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--mist); }
.tone-art img { width: 100%; height: 100%; object-fit: cover; }
.tone-sw { position: absolute; left: 4px; right: 4px; bottom: 4px; display: flex; gap: 3px; }
.tone-sw i { flex: 1; height: 12px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255,255,255,.7); }
.tone-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tone-b b { font-size: 14px; }
.tone-b small { font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }
.tone-card.neutral .tone-b small { color: var(--amber); }
.cg.toned { transition: background .6s; }

/* profile photo */
.profile-card { display: flex; gap: 18px; align-items: center; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-edit { position: relative; flex-shrink: 0; border-radius: 50%; }
.avatar-edit .avatar { width: 76px; height: 76px; font-size: 26px; box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--line); }
.ae-badge { position: absolute; right: -2px; bottom: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; box-shadow: 0 0 0 3px var(--paper); transition: transform .2s var(--spring); }
.ae-badge svg { width: 14px; height: 14px; }
.avatar-edit:hover .ae-badge { transform: scale(1.1); }
.pw-reveal { font-size: 18px; letter-spacing: .08em; text-align: center; }

/* =================== v13: tips carousel =================== */
.tips { position: relative; border-radius: var(--r-lg); background: var(--night); color: #fff; padding: 18px; overflow: hidden; outline: none; }
.tips::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(156,194,181,.22), transparent); pointer-events: none; }
.tips-head { position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tips-head .pill { background: rgba(255,255,255,.14); color: #fff; flex-shrink: 0; }
.tips-bars { flex: 1; display: flex; gap: 4px; }
.tb { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); overflow: hidden; padding: 0; }
.tb i { display: block; height: 100%; width: 0; background: #fff; border-radius: 3px; }
.tb.done i { width: 100%; }
.tips-track { position: relative; display: grid; }
.tip-s { grid-area: 1 / 1; opacity: 0; transform: translateX(16px); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.tip-s.on { opacity: 1; transform: none; pointer-events: auto; }
.tip-art { position: relative; height: 170px; border-radius: 16px; overflow: hidden; background: linear-gradient(140deg, #1f2e28, #121a17); margin-bottom: 16px; }
.tip-copy small { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-300); }
.tip-copy h3 { font-size: 19px; letter-spacing: -.025em; margin: 6px 0 6px; line-height: 1.2; }
.tip-copy p { margin: 0 0 14px; color: rgba(255,255,255,.72); font-size: 13.5px; line-height: 1.5; min-height: 40px; }
.tip-copy .btn { --b-bg: #fff; --b-fg: var(--ink); --b-bd: transparent; }
.tips-nav { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: -40px; pointer-events: none; }
.tips-nav > * { pointer-events: auto; }
.tips-nav .icon-btn { width: 32px; height: 32px; }
.tips-nav .icon-btn svg { width: 15px; height: 15px; }
.tips-count { font-size: 12px; color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; }
.tips-count b { color: #fff; font-weight: 600; }
.tips.paused .tip-art * { animation-play-state: paused !important; }

/* animated previews — they only run on the visible slide */
.tip-s:not(.on) .tip-art * { animation: none !important; }
.ta { position: absolute; inset: 0; display: grid; place-items: center; }
/* reels */
.ta-reels .ph { position: relative; width: 84px; height: 150px; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 0 0 3px #2a2a2a, 0 20px 40px rgba(0,0,0,.4); }
.ta-reels .strip { display: flex; flex-direction: column; animation: tr-swipe 6s var(--ease) infinite; }
.ta-reels .strip img { width: 84px; height: 150px; object-fit: cover; flex-shrink: 0; }
@keyframes tr-swipe { 0%, 20% { transform: translateY(0); } 30%, 50% { transform: translateY(-150px); } 60%, 80% { transform: translateY(-300px); } 90%, 100% { transform: translateY(-450px); } }
.ta-reels .hand { position: absolute; left: 50%; bottom: 20px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: rgba(255,255,255,.85); box-shadow: 0 0 0 6px rgba(255,255,255,.2); animation: tr-hand 2s ease-in-out infinite; }
@keyframes tr-hand { 0%, 25% { transform: translateY(0); opacity: 0; } 35% { opacity: 1; } 70% { transform: translateY(-60px); opacity: 1; } 85%, 100% { transform: translateY(-70px); opacity: 0; } }
/* tone */
.ta-tone { grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 22px; }
.ta-tone img { width: 100%; height: 120px; object-fit: cover; border-radius: 12px; }
.ta-tone .page { height: 120px; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; animation: tt-tint 5s ease-in-out infinite; }
.ta-tone .page i { display: block; height: 10px; border-radius: 4px; background: rgba(0,0,0,.18); }
.ta-tone .page i:nth-child(1) { width: 70%; height: 14px; animation: tt-acc 5s ease-in-out infinite; }
.ta-tone .page i:nth-child(3) { width: 50%; }
@keyframes tt-tint { 0%, 25% { background: #f2f2f0; } 50%, 85% { background: hsl(23 30% 93%); } 100% { background: #f2f2f0; } }
@keyframes tt-acc { 0%, 25% { background: #bbb; } 50%, 85% { background: hsl(23 55% 32%); } 100% { background: #bbb; } }
/* link */
.ta-link { gap: 12px; align-content: center; }
.ta-link .bar { display: flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 12px; background: #fff; color: #555; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.ta-link .type, .ta-k .type2 { display: inline-block; overflow: hidden; white-space: nowrap; color: #111; font-weight: 600; width: 0; animation: tl-type 5s steps(13) infinite; }
@keyframes tl-type { 0%, 10% { width: 0; } 55%, 90% { width: 13ch; } 100% { width: 13ch; } }
.ta-link .caret, .ta-k .caret { width: 2px; height: 18px; background: #2f6b5e; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ta-link .ok { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; color: #9cc2b5; opacity: 0; animation: tl-ok 5s ease infinite; }
.ta-link .ok svg { width: 15px; height: 15px; }
@keyframes tl-ok { 0%, 58% { opacity: 0; transform: translateY(6px); } 65%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* note */
.ta-note .vbox { position: absolute; left: 18px; top: 18px; width: 58%; height: 120px; border-radius: 12px; overflow: hidden; }
.ta-note .vbox img { width: 100%; height: 100%; object-fit: cover; }
.ta-note .prog { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); }
.ta-note .prog i { display: block; height: 100%; width: 0; background: #fff; border-radius: 3px; animation: tn-prog 6s linear infinite; }
@keyframes tn-prog { 0% { width: 0; } 45%, 100% { width: 46%; } }
.ta-note .bub { position: absolute; right: 16px; top: 50px; max-width: 52%; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: #fff; color: #111; font-size: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.3); opacity: 0; animation: tn-pop 6s var(--spring) infinite; }
.ta-note .bub .chip { background: #2f6b5e; }
@keyframes tn-pop { 0%, 45% { opacity: 0; transform: scale(.8); } 52%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.ta-note .appr { position: absolute; left: 30px; bottom: 16px; display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; background: #2f8a4f; font-size: 12px; font-weight: 600; opacity: 0; animation: tn-appr 6s ease infinite; }
.ta-note .appr svg { width: 13px; height: 13px; }
@keyframes tn-appr { 0%, 68% { opacity: 0; transform: translateY(8px); } 75%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* snap */
.ta-snap > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.ta-snap .flash { position: absolute; inset: 0; background: #fff; opacity: 0; animation: ts-flash 4.5s ease-out infinite; }
@keyframes ts-flash { 0%, 38% { opacity: 0; } 40% { opacity: .9; } 55%, 100% { opacity: 0; } }
.ta-snap .shot { position: absolute; width: 90px; height: 64px; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 3px #fff, 0 14px 30px rgba(0,0,0,.4); opacity: 0; animation: ts-shot 4.5s var(--ease) infinite; }
.ta-snap .shot img { width: 100%; height: 100%; object-fit: cover; }
@keyframes ts-shot { 0%, 42% { opacity: 0; transform: scale(1.6); } 52% { opacity: 1; transform: scale(1) rotate(-4deg); } 80% { opacity: 1; transform: translate(70px, 40px) scale(.6) rotate(-4deg); } 92%, 100% { opacity: 0; transform: translate(80px, 50px) scale(.4); } }
.ta-snap .btnp { position: absolute; right: 18px; bottom: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.2); backdrop-filter: blur(8px); animation: ts-btn 4.5s ease infinite; }
.ta-snap .btnp svg { width: 18px; height: 18px; }
@keyframes ts-btn { 0%, 30% { transform: none; } 36% { transform: scale(.85); } 42%, 100% { transform: none; } }
/* team */
.ta-team .av { position: absolute; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; box-shadow: 0 0 0 3px #1a2622; }
.ta-team .a1 { left: 22%; top: 30%; background: #b0646a; } .ta-team .a2 { left: 18%; top: 58%; background: #3a5ba0; }
.ta-team .file { position: absolute; left: 30%; top: 40%; width: 64px; height: 44px; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,.4); animation: tm-fly 5s var(--ease) infinite; }
.ta-team .file img { width: 100%; height: 100%; object-fit: cover; }
@keyframes tm-fly { 0%, 10% { transform: none; opacity: 0; } 18% { opacity: 1; } 55%, 75% { transform: translateX(140px); opacity: 1; } 90%, 100% { transform: translateX(140px) scale(.8); opacity: 0; } }
.ta-team .you { position: absolute; right: 18%; top: 40%; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); animation: tm-ok 5s ease infinite; }
.ta-team .you svg { width: 22px; height: 22px; }
@keyframes tm-ok { 0%, 58% { background: rgba(255,255,255,.12); } 65%, 90% { background: #2f8a4f; } 100% { background: rgba(255,255,255,.12); } }
/* portfolio */
.ta-pf .card { position: absolute; width: 80px; height: 104px; border-radius: 10px; overflow: hidden; box-shadow: 0 14px 30px rgba(0,0,0,.4); }
.ta-pf .card img { width: 100%; height: 100%; object-fit: cover; }
.ta-pf .c1 { animation: tp-a 6s var(--ease) infinite; } .ta-pf .c2 { animation: tp-b 6s var(--ease) infinite; } .ta-pf .c3 { animation: tp-c 6s var(--ease) infinite; }
@keyframes tp-a { 0%, 15% { transform: rotate(-6deg); } 40%, 90% { transform: translateX(-96px) rotate(0); } 100% { transform: rotate(-6deg); } }
@keyframes tp-b { 0%, 15% { transform: rotate(0); } 40%, 90% { transform: translateY(-6px); } 100% { transform: rotate(0); } }
@keyframes tp-c { 0%, 15% { transform: rotate(6deg); } 40%, 90% { transform: translateX(96px) rotate(0); } 100% { transform: rotate(6deg); } }
.ta-pf .ttl { position: absolute; bottom: 12px; font-family: 'Cormorant Garamond', serif; font-size: 18px; opacity: .85; }
/* ⌘K */
.ta-k .pal { width: 70%; border-radius: 12px; background: #fff; padding: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.ta-k .in { display: flex; align-items: center; gap: 8px; color: #888; font-size: 13px; padding: 2px 4px 8px; border-bottom: 1px solid #eee; }
.ta-k .in svg { width: 14px; height: 14px; }
.ta-k .type2 { animation: tk-type 5s steps(6) infinite; }
@keyframes tk-type { 0%, 15% { width: 0; } 45%, 100% { width: 6ch; } }
.ta-k .row { height: 12px; border-radius: 4px; background: #eee; margin-top: 8px; }
.ta-k .r1 { animation: tk-hi 5s ease infinite; } .ta-k .r2 { width: 80%; } .ta-k .r3 { width: 60%; }
@keyframes tk-hi { 0%, 45% { background: #eee; } 55%, 100% { background: #cfe2da; } }
.ta-k .keys { position: absolute; right: 16px; bottom: 14px; display: flex; gap: 4px; }
.ta-k kbd { font: 600 12px var(--font); padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.14); color: #fff; animation: tk-press 5s ease infinite; }
@keyframes tk-press { 0%, 8% { transform: none; } 10% { transform: translateY(2px); background: rgba(255,255,255,.3); } 14%, 100% { transform: none; } }
/* drag */
.ta-drag { align-content: center; gap: 8px; }
.ta-drag .r { display: flex; align-items: center; gap: 10px; width: 200px; height: 34px; padding: 0 10px; border-radius: 10px; background: rgba(255,255,255,.08); }
.ta-drag .r b { font-size: 12px; width: 14px; }
.ta-drag .r i { flex: 1; height: 8px; border-radius: 4px; background: rgba(255,255,255,.25); }
.ta-drag .rc { background: rgba(156,194,181,.25); animation: td-up 5s var(--ease) infinite; position: relative; z-index: 2; }
.ta-drag .ra { animation: td-down 5s var(--ease) infinite; } .ta-drag .rb { animation: td-down 5s var(--ease) infinite; }
@keyframes td-up { 0%, 20% { transform: none; box-shadow: none; } 30% { box-shadow: 0 10px 24px rgba(0,0,0,.4); } 60%, 85% { transform: translateY(-84px); box-shadow: none; } 100% { transform: none; } }
@keyframes td-down { 0%, 30% { transform: none; } 60%, 85% { transform: translateY(42px); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .tip-art * { animation: none !important; } }

/* landing sample */
.sp-hero video { width: 100%; height: 100%; object-fit: cover; }
.sp-grid img { aspect-ratio: 9/16; }
