/* ===================================================================
   Digital Destiny Pro — AI-powered web studio. Sleek dark, lime/cyan accent.
   Space Grotesk display + Inter body + JetBrains Mono labels.
   =================================================================== */

:root {
  --bg: #0a0b0d;
  --bg-2: #0e1013;
  --panel: #15181d;
  --panel-2: #1b1f26;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);

  --ink: #f3f5f7;
  --ink-2: #a2a9b4;
  --ink-3: #6a7280;

  --lime: #b6f400;
  --cyan: #22d3ee;
  --grad: linear-gradient(100deg, #b6f400, #22d3ee);
  --glow-lime: 0 0 44px -6px rgba(182, 244, 0, .45);
  --glow-cyan: 0 0 50px -8px rgba(34, 211, 238, .4);

  --sh-md: 0 24px 60px -28px rgba(0, 0, 0, .8);
  --sh-lg: 0 44px 100px -44px rgba(0, 0, 0, .9);

  --radius: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --disp: 'Space Grotesk', system-ui, sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg);
  line-height: 1.6; font-size: 17px; letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 780px; }
.center { text-align: center; }

/* Type */
h1, h2, h3 { font-family: var(--disp); font-weight: 600; line-height: 1.04; color: #fff; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.7rem, 6.5vw, 5.2rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
em { font-style: normal; color: var(--lime); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow { font-family: var(--mono); font-size: .82rem; font-weight: 500; letter-spacing: .02em; color: var(--lime); margin: 0 0 1.2rem; }
.eyebrow.center { display: block; }
.lede { font-size: 1.24rem; color: var(--ink-2); line-height: 1.6; }
.lede strong { color: #fff; font-weight: 600; }
.subhead { max-width: 60ch; color: var(--ink-2); font-size: 1.12rem; margin: 0 0 2.6rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .98rem; letter-spacing: -0.01em;
  padding: .9rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  text-decoration: none; white-space: nowrap; line-height: 1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--lime); color: #0a0b0d; box-shadow: var(--glow-lime); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 60px -4px rgba(182, 244, 0, .65); }
.btn-outline { background: transparent; color: var(--lime); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--lime); background: rgba(182, 244, 0, .07); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { color: #fff; }
.btn-ghost .arrow { transition: transform .25s var(--ease); }
.btn-ghost:hover .arrow { transform: translateX(4px); }
.btn-nav { background: var(--lime); color: #0a0b0d; padding: .6rem 1.2rem; font-size: .92rem; }
.btn-nav:hover { transform: translateY(-1px); box-shadow: var(--glow-lime); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid transparent; transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s; }
.site-header.scrolled { background: rgba(10, 11, 13, .72); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-family: var(--disp); font-size: 1.1rem; font-weight: 600; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .6rem; letter-spacing: -0.01em; }
.logo-mark { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--lime); box-shadow: var(--glow-lime); background: var(--panel-2); }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--lime); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); color: var(--ink); width: 42px; height: 42px; border-radius: 10px; font-size: 20px; line-height: 1; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle:hover { border-color: var(--lime); color: var(--lime); }

/* Grid + orbs backgrounds */
.grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(80% 60% at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(80% 60% at 50% 30%, #000 30%, transparent 80%);
}
.hero-orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ho { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; will-change: transform, border-radius; }
.ho-1 { width: 380px; height: 380px; background: var(--lime); top: -8%; right: 8%; animation: drift1 17s ease-in-out infinite, morph 12s ease-in-out infinite; }
.ho-2 { width: 300px; height: 300px; background: var(--cyan); bottom: -12%; left: 4%; opacity: .3; animation: drift2 21s ease-in-out infinite, morph 14s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-34px,26px) scale(1.08); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-22px) scale(1.1); } }
@keyframes morph { 0%,100% { border-radius: 42% 58% 63% 37% / 42% 45% 55% 58%; } 50% { border-radius: 58% 42% 38% 62% / 55% 60% 40% 45%; } }

/* Hero */
.hero { position: relative; padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(10,11,13,.82) 44%, rgba(10,11,13,.5) 100%),
    url('hero-bg.webp') center right / cover no-repeat,
    var(--bg);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero .lede { max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 2rem; }
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.hero-stats strong { display: block; font-family: var(--disp); font-size: 1.4rem; color: #fff; }
.hero-stats span { font-size: .85rem; color: var(--ink-3); }

/* Hero chat panel */
.hero-panel { position: relative; z-index: 2; }
.hero-dash { width: 100%; height: auto; display: block; border-radius: var(--radius); filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); animation: floatY 7s ease-in-out infinite; }
.chat-mock {
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: var(--sh-lg), var(--glow-cyan); overflow: hidden; max-width: 400px; margin-left: auto;
  animation: floatY 7s ease-in-out infinite;
}
.chat-head { display: flex; align-items: center; gap: .5rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .82rem; color: var(--ink-2); }
.chat-dot { width: 22px; height: 22px; border-radius: 6px; background: var(--grad); }
.chat-status { margin-left: auto; color: var(--lime); font-size: .72rem; }
.chat-body { padding: 1.1rem; display: flex; flex-direction: column; gap: .7rem; }
.msg { max-width: 82%; padding: .7rem .9rem; border-radius: 14px; font-size: .92rem; line-height: 1.4; opacity: 0; animation: msgIn .5s var(--ease) forwards; }
.msg.bot { background: var(--panel-2); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.user { background: var(--lime); color: #0a0b0d; border-bottom-right-radius: 4px; align-self: flex-end; font-weight: 500; }
.msg.bot em { color: var(--lime); font-style: normal; font-weight: 600; }
.msg:nth-child(1) { animation-delay: .3s; }
.msg:nth-child(2) { animation-delay: 1.1s; }
.msg:nth-child(3) { animation-delay: 1.9s; }
.msg.typing { animation-delay: 2.7s; display: flex; gap: 4px; background: var(--panel-2); align-self: flex-start; padding: .85rem .9rem; }
.msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: blink 1.2s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .2s; }
.msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Tech marquee */
.tech-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.tech-marquee { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.tech-group { display: flex; align-items: center; padding: 1.1rem 0; }
.tech-group span { font-family: var(--disp); font-weight: 500; font-size: 1.05rem; color: var(--ink-2); padding: 0 1.6rem; white-space: nowrap; }
.tech-group i { color: var(--lime); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Hero portrait frame (coach) */
.hero-frame { position: relative; width: 100%; max-width: 380px; margin-left: auto; aspect-ratio: 4/5; border-radius: 200px 200px 22px 22px; background: radial-gradient(120% 90% at 30% 12%, rgba(182,244,0,.16), transparent 55%), linear-gradient(160deg, #1b1f26 0%, #0c0d10 100%); border: 1px solid var(--line-2); box-shadow: var(--sh-lg), var(--glow-lime); overflow: hidden; animation: floatY 7s ease-in-out infinite; }
.hero-frame::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 50% at 50% 100%, rgba(0,0,0,.5), transparent 60%); }
.hero-badge { position: relative; z-index: 3; display: flex; width: max-content; margin: 1.1rem auto 0; align-items: center; gap: .5rem; background: rgba(21,24,29,.92); border: 1px solid var(--line-2); backdrop-filter: blur(8px); border-radius: 999px; padding: .55rem 1rem; font-size: .82rem; font-weight: 600; color: #fff; box-shadow: var(--sh-md); animation: floatY 5.5s ease-in-out infinite; }
.hero-badge .dot { color: var(--lime); }
.hero-quote { position: absolute; bottom: 4%; left: -6%; z-index: 3; margin: 0; max-width: 250px; background: rgba(21,24,29,.94); border: 1px solid var(--line-2); backdrop-filter: blur(8px); border-radius: var(--radius-md); padding: 1.2rem 1.3rem; box-shadow: var(--sh-lg); animation: floatY 8.5s ease-in-out .6s infinite; }
.hero-quote p { font-family: var(--disp); font-size: 1.05rem; color: #fff; margin-bottom: .5rem; line-height: 1.3; }
.hero-quote cite { font-style: normal; font-size: .76rem; color: var(--lime); }

/* Pain grid */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2.6rem 0; }
.pain-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.4rem; font-size: 1rem; color: var(--ink); line-height: 1.5; display: flex; gap: .7rem; align-items: flex-start; transition: transform .3s var(--ease), border-color .3s; }
.pain-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.pain-card::before { content: ''; flex: none; width: 7px; height: 7px; margin-top: .5rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px rgba(182,244,0,.8); }
.story-close { font-family: var(--disp); font-size: 1.35rem; line-height: 1.4; text-align: center; max-width: 30ch; margin: 0 auto; color: var(--ink-2); }
.story-close strong { color: var(--lime); }

/* Testimonials */
.voices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.2rem; }
.voice { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; position: relative; box-shadow: var(--sh-md); }
.voice::before { content: '\201C'; font-family: Georgia, serif; font-size: 3.4rem; color: var(--lime); opacity: .5; position: absolute; top: .4rem; left: 1.1rem; line-height: 1; }
.voice blockquote { margin: 1.2rem 0 1rem; font-family: var(--disp); font-size: 1.1rem; color: #fff; line-height: 1.45; }
.voice figcaption { color: var(--lime); font-weight: 600; font-size: .82rem; font-family: var(--mono); }

/* Training / webinar video */
.training-hero { padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.video-wrap { max-width: 900px; margin: 2.6rem auto 0; }
.video-frame { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(120% 100% at 50% 0%, rgba(34,211,238,.14), transparent 60%), linear-gradient(160deg, #15181d, #0c0d10); box-shadow: var(--sh-lg), var(--glow-cyan); display: grid; place-items: center; cursor: pointer; }
.video-frame .play { width: 84px; height: 84px; border-radius: 50%; background: var(--lime); color: #0a0b0d; display: grid; place-items: center; box-shadow: var(--glow-lime); transition: transform .25s var(--ease); }
.video-frame:hover .play { transform: scale(1.08); }
.video-frame .play svg { width: 34px; height: 34px; margin-left: 4px; }
.video-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--sh-lg); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { text-align: center; color: var(--ink-3); font-size: .82rem; margin-top: 1rem; font-family: var(--mono); }

/* Click-to-play poster + fullscreen overlay player */
.video-poster { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); cursor: pointer; padding: 0; background: #0a0b0d url('poster.webp') center / cover no-repeat; box-shadow: var(--sh-lg); }
.video-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(10,11,13,.12), rgba(10,11,13,.55)); }
.vp-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; width: 84px; height: 84px; border-radius: 50%; background: var(--lime); color: #0a0b0d; display: grid; place-items: center; box-shadow: var(--glow-lime); transition: transform .2s var(--ease); }
.vp-play svg { width: 34px; height: 34px; margin-left: 4px; }
.video-poster:hover .vp-play { transform: translate(-50%, -50%) scale(1.08); }
.vp-label { position: absolute; left: 0; right: 0; bottom: 1.1rem; z-index: 1; text-align: center; color: #fff; font-family: var(--disp); font-weight: 600; font-size: 1.1rem; text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.video-overlay { position: fixed; inset: 0; z-index: 9999; background: #000; display: none; }
.video-overlay.open { display: block; }
.vo-frame { position: absolute; inset: 0; }
.vo-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vo-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: 20px; cursor: pointer; backdrop-filter: blur(6px); }
.vo-close:hover { background: rgba(0,0,0,.85); }

/* Chat page */
.chat-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid var(--lime); box-shadow: var(--glow-lime); margin: 0 auto 1.4rem; display: block; background: var(--panel-2); }
.chatbox { max-width: 640px; margin: 2.5rem auto 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--sh-md); overflow: hidden; display: flex; flex-direction: column; height: 62vh; min-height: 460px; }
.chatbox iframe { flex: 1; width: 100%; border: 0; display: block; background: var(--bg-2); }
.chatbox-head { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .9rem; color: var(--ink-2); }
.chatbox-head img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1px solid var(--lime); }
.chatbox-head b { color: #fff; }
.chatbox-head .st { margin-left: auto; color: var(--lime); font-size: .74rem; display: flex; align-items: center; gap: .4rem; }
.chatbox-head .st::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.chat-log { flex: 1; overflow-y: auto; padding: 1.2rem; display: flex; flex-direction: column; gap: .8rem; }
.cmsg { max-width: 84%; padding: .75rem 1rem; border-radius: 14px; font-size: .98rem; line-height: 1.5; }
.cmsg.bot { background: var(--panel-2); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.cmsg.me { background: var(--lime); color: #0a0b0d; border-bottom-right-radius: 4px; align-self: flex-end; font-weight: 500; }
.cmsg a { color: var(--lime); }
.cmsg.me a { color: #0a0b0d; }
.chat-input { display: flex; gap: .6rem; padding: 1rem; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; padding: .85rem 1rem; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--bg-2); color: var(--ink); font-family: var(--sans); font-size: 1rem; }
.chat-input input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(182,244,0,.14); }
.chat-input button { background: var(--lime); color: #0a0b0d; border: none; border-radius: 999px; padding: 0 1.5rem; font-weight: 600; font-family: var(--sans); cursor: pointer; }

/* "Speak with my AI clone" CTA */
.clone-cta { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.clone-cta span { color: var(--ink-2); }
.pulse { animation: btnpulse 1.3s ease-in-out infinite; }
@keyframes btnpulse { 0%, 100% { box-shadow: var(--glow-lime); } 50% { box-shadow: 0 0 0 9px rgba(182,244,0,.16), var(--glow-lime); transform: translateY(-1px); } }

/* Sections */
.section { padding: clamp(4.5rem, 9vw, 8.5rem) 0; position: relative; }

/* Services */
.services h2 { max-width: 18ch; margin-bottom: 2.6rem; }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.svc-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; position: relative; overflow: hidden; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.svc-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.svc-card:hover::before { opacity: 1; }
.svc-ico { width: 56px; height: 56px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 1.4rem; color: var(--lime); margin-bottom: 1.2rem; }
.svc-ico img { width: 40px; height: 40px; object-fit: contain; display: block; }
.svc-card p { color: var(--ink-2); margin: 0; }

/* Work */
.work { background: var(--bg-2); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; margin-top: 1rem; }
.work-card { display: block; text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.work-card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--sh-lg); }
.browser { background: #111; border-bottom: 1px solid var(--line); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: .7rem .9rem; background: #16181d; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.browser-bar i:nth-child(1) { background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-url { margin-left: .6rem; font-family: var(--mono); font-size: .74rem; color: var(--ink-3); background: #0c0d10; padding: .25rem .7rem; border-radius: 6px; }
.browser-view { aspect-ratio: 16/10; display: flex; flex-direction: column; justify-content: center; gap: .6rem; padding: 2rem; position: relative; overflow: hidden; }
.browser-view .bv-brand { font-family: Georgia, serif; font-size: 1.1rem; color: #fff; opacity: .9; }
.browser-view .bv-brand em { font-style: italic; }
.browser-view .bv-head { font-family: Georgia, serif; font-size: 1.5rem; line-height: 1.15; color: #fff; }
.browser-view .bv-head b { font-weight: 700; }
.browser-view .bv-btn { align-self: flex-start; margin-top: .4rem; font-family: var(--sans); font-size: .78rem; font-weight: 600; padding: .5rem .9rem; border-radius: 999px; }
.karen-view { background: radial-gradient(120% 90% at 80% 10%, #7a5670, #3f2a3c); }
.karen-view .bv-brand em { color: #c58a7f; }
.karen-view .bv-btn { background: #c58a7f; color: #2e2420; }
.patty-view { background: radial-gradient(120% 90% at 80% 10%, #6d3f7a, #14112e); }
.patty-view .bv-brand em { color: #f6d78f; }
.patty-view .bv-head b { color: #f6d78f; }
.patty-view .bv-btn { background: linear-gradient(95deg, #f6d78f, #e0a24e); color: #2a1d05; }
.work-meta { padding: 1.6rem 1.8rem 1.9rem; }
.work-meta h3 { display: flex; align-items: center; gap: .5rem; }
.work-arrow { color: var(--lime); transition: transform .25s var(--ease); }
.work-card:hover .work-arrow { transform: translate(3px, -3px); }
.work-meta p { color: var(--ink-2); font-size: .96rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.tags span { font-family: var(--mono); font-size: .72rem; color: var(--ink-2); background: var(--panel-2); border: 1px solid var(--line); padding: .3rem .6rem; border-radius: 6px; }

/* Process */
.proc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 2.4rem; }
.proc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.6rem 1.3rem; transition: transform .3s var(--ease), border-color .3s; }
.proc:hover { transform: translateY(-4px); border-color: var(--line-2); }
.proc-num { font-family: var(--mono); font-size: .85rem; color: var(--lime); }
.proc h3 { font-size: 1.15rem; margin: .6rem 0 .4rem; }
.proc p { color: var(--ink-2); font-size: .9rem; margin: 0; }

/* About */
.about-inner { display: grid; grid-template-columns: .7fr 1.3fr; gap: 3.5rem; align-items: center; }
.about-avatar { aspect-ratio: 1; max-width: 320px; border-radius: var(--radius); background: #15181d url('ddp-logo.webp') center 18% / cover no-repeat; border: 1px solid var(--line-2); display: grid; place-items: center; box-shadow: var(--sh-md), var(--glow-lime); position: relative; overflow: hidden; }
.about-avatar::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 70% at 30% 15%, rgba(182,244,0,.14), transparent 60%); }
.about-avatar span { display: none; }
.about-copy .lede { margin-bottom: 1.1rem; }
.about-copy p { color: var(--ink-2); }
.about-copy .btn { margin-top: .6rem; }
.about-hero .about-copy h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }

/* About-page story elements */
.section .narrow > p { color: var(--ink-2); }
.section .narrow > p strong { color: #fff; }
.pull-stat { display: inline-flex; flex-direction: column; gap: .25rem; margin: 1.9rem 0; padding: 1.1rem 1.6rem; border-left: 3px solid var(--lime); background: var(--panel); border-radius: 0 var(--radius-md) var(--radius-md) 0; box-shadow: var(--sh-md); }
.pull-stat b { font-family: var(--disp); font-size: 2.3rem; line-height: 1; }
.pull-stat span { color: var(--ink-2); font-size: .95rem; }
.story-photo { margin: 2.2rem auto; max-width: 620px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--sh-lg); }
.story-photo img { width: 100%; display: block; }
.story-photo figcaption { padding: .75rem 1rem; color: var(--ink-3); font-size: .82rem; text-align: center; font-family: var(--mono); background: var(--panel); margin: 0; }

/* Final CTA */
.final-cta { background: var(--bg-2); overflow: hidden; }
.final-cta .container { position: relative; z-index: 2; }
.final-cta .lede { max-width: 52ch; margin: 0 auto 2.2rem; }

/* Footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: 3.5rem; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; align-items: start; }
.footer-note { color: var(--ink-3); margin-top: .8rem; max-width: 34ch; }
.footer-links { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.footer-links a { color: var(--ink-2); text-decoration: none; font-size: .95rem; transition: color .2s; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { border-top: 1px solid var(--line); padding: 1.5rem 0 1.8rem; font-size: .85rem; color: var(--ink-3); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } *, .ho, .chat-mock, .msg, .tech-marquee { animation-duration: .001ms !important; } .msg { opacity: 1 !important; } }

/* ============ BOOKING (reused) ============ */
.page-booking { background: var(--bg); min-height: 100vh; }
.booking { padding-top: clamp(2.5rem, 5vw, 4rem); position: relative; z-index: 2; }
.booking-head { max-width: 660px; margin: 0 auto 3rem; }
.booking-grid { display: grid; grid-template-columns: 360px 1fr; gap: 2rem; align-items: start; }
.booking-summary { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--sh-md); position: sticky; top: 96px; }
.summary-coach { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.6rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.summary-avatar { width: 54px; height: 54px; border-radius: 12px; background: var(--lime); color: #0a0b0d; font-family: var(--mono); font-weight: 700; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; box-shadow: var(--glow-lime); }
.summary-coach strong { display: block; color: #fff; font-size: 1.05rem; }
.summary-coach span { font-size: .85rem; color: var(--ink-3); }
.summary-title { font-size: 1.6rem; margin-bottom: 1.2rem; }
.summary-meta { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .85rem; }
.summary-meta li { display: flex; align-items: center; gap: .7rem; color: var(--ink-2); font-size: .96rem; }
.summary-meta svg { width: 21px; height: 21px; fill: none; stroke: var(--lime); stroke-width: 1.7; flex: none; }
.summary-desc { font-size: .93rem; color: var(--ink-2); margin: 0; line-height: 1.6; }
.summary-selected { margin-top: 1.5rem; padding: 1.2rem; border-radius: var(--radius-sm); background: var(--panel-2); border: 1px solid var(--line-2); }
.summary-selected-label { display: block; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--lime); margin-bottom: .35rem; }
.summary-selected strong { color: #fff; font-size: 1.05rem; font-family: var(--disp); }
.booking-main { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--sh-md); min-height: 460px; }
.scheduler { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2rem; }
.calendar { border-right: 1px solid var(--line); padding-right: 2rem; }
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; }
.cal-month { font-family: var(--disp); font-size: 1.25rem; color: #fff; }
.cal-nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--lime); font-size: 1.35rem; cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.cal-nav:hover:not(:disabled) { background: var(--panel-2); border-color: var(--lime); }
.cal-nav:disabled { opacity: .3; cursor: not-allowed; }
.cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-bottom: 8px; }
.cal-weekdays span { text-align: center; font-family: var(--mono); font-size: .68rem; color: var(--ink-3); text-transform: uppercase; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-day { aspect-ratio: 1; border: none; background: transparent; border-radius: 10px; font-family: var(--sans); font-size: .95rem; color: var(--ink); cursor: pointer; font-weight: 500; display: flex; align-items: center; justify-content: center; position: relative; transition: background .18s, color .18s; }
.cal-day.empty { visibility: hidden; }
.cal-day.available { color: var(--lime); font-weight: 600; }
.cal-day.available::after { content: ''; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--lime); }
.cal-day.available:hover { background: var(--panel-2); }
.cal-day.unavailable { color: var(--ink-3); opacity: .5; cursor: not-allowed; }
.cal-day.selected { background: var(--lime); color: #0a0b0d; font-weight: 700; }
.cal-day.selected::after { background: #0a0b0d; }
.cal-day.today:not(.selected) { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.timeslots-heading { font-size: 1rem; color: #fff; margin: 0 0 1.1rem; font-weight: 600; font-family: var(--disp); }
.timeslots-list { display: grid; gap: .65rem; max-height: 360px; overflow-y: auto; padding-right: 5px; }
.slot { padding: .9rem; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: transparent; color: var(--lime); font-family: var(--sans); font-weight: 600; font-size: .98rem; cursor: pointer; transition: border-color .18s, background .18s, transform .12s; text-align: center; }
.slot:hover { border-color: var(--lime); background: var(--panel-2); transform: translateY(-1px); }
.slot.selected { border-color: transparent; background: var(--lime); color: #0a0b0d; }
.slot.booked { opacity: .4; cursor: not-allowed; text-decoration: line-through; color: var(--ink-3); }
.slot.booked:hover { border-color: var(--line-2); background: transparent; transform: none; }
.form-error { background: rgba(255,90,90,.1); border: 1px solid rgba(255,90,90,.4); color: #ff9a9a; border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .92rem; margin: 0 0 1rem; }
.booking-form { max-width: 540px; }
.booking-form h2 { font-size: 1.6rem; margin-bottom: 1.4rem; }
.back-link { background: none; border: none; color: var(--lime); cursor: pointer; font-family: var(--sans); font-weight: 600; font-size: .92rem; padding: 0; margin-bottom: 1.4rem; display: inline-flex; align-items: center; gap: .3rem; transition: gap .2s; }
.back-link:hover { gap: .5rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: #fff; margin-bottom: .45rem; }
.optional { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea { width: 100%; padding: .85rem .95rem; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); font-family: var(--sans); font-size: 1rem; color: var(--ink); background: var(--bg-2); transition: border-color .18s, box-shadow .18s; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(182,244,0,.14); }
.field textarea { resize: vertical; }
.checkbox { display: flex; align-items: flex-start; gap: .65rem; font-size: .92rem; color: var(--ink-2); margin: .4rem 0 1.5rem; cursor: pointer; line-height: 1.5; }
.checkbox input { margin-top: .2rem; accent-color: var(--lime); width: 18px; height: 18px; flex: none; }
.form-privacy { font-size: .82rem; color: var(--ink-3); text-align: center; margin: 1.1rem 0 0; }

/* Thank you */
.page-thankyou { background: var(--bg); min-height: 100vh; }
.thankyou { padding-top: clamp(3.5rem, 7vw, 6rem); position: relative; z-index: 2; }
.check { width: 92px; height: 92px; margin: 0 auto 1.8rem; filter: drop-shadow(0 0 22px rgba(182,244,0,.5)); }
.check svg { width: 100%; height: 100%; fill: none; stroke-width: 3; }
.check circle { stroke: var(--cyan); opacity: .5; stroke-dasharray: 151; stroke-dashoffset: 151; animation: ring .7s var(--ease) .1s forwards; }
.check path { stroke: var(--lime); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: draw .5s var(--ease) .5s forwards; }
@keyframes ring { to { stroke-dashoffset: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confirm-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--sh-md); max-width: 460px; margin: 2rem auto 2.8rem; text-align: center; }
.confirm-row { padding: .35rem 0; }
.confirm-label { font-family: var(--mono); color: var(--lime); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.confirm-when { font-family: var(--disp); font-size: 1.5rem; color: #fff; }
.confirm-with { color: var(--ink-2); font-size: .95rem; }
.cal-cta { max-width: 560px; margin: 0 auto 2.6rem; padding: 2rem 1.9rem; text-align: center; background: var(--panel); border: 1.5px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--sh-md); position: relative; overflow: hidden; }
.cal-cta::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.cal-cta-kicker { font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); margin: 0 0 .5rem; }
.cal-cta h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.cal-cta > p { color: var(--ink-2); font-size: .98rem; margin: 0 auto 1.5rem; max-width: 42ch; }
.cal-cta-buttons { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.cal-cta-buttons .btn svg { width: 19px; height: 19px; }
.whatnext { text-align: left; max-width: 540px; margin: 0 auto 2.4rem; }
.whatnext h2 { text-align: center; font-size: 1.6rem; margin-bottom: 1.6rem; }
.whatnext ol { padding: 0; margin: 0; list-style: none; counter-reset: step; display: grid; gap: 1rem; }
.whatnext li { position: relative; padding-left: 3rem; color: var(--ink-2); counter-increment: step; }
.whatnext li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 9px; background: var(--lime); color: #0a0b0d; font-family: var(--mono); font-weight: 700; font-size: .9rem; display: grid; place-items: center; }
.whatnext strong { color: #fff; }
.thankyou-note { font-family: var(--disp); font-size: 1.25rem; color: #fff; max-width: 34ch; margin: 0 auto 2.2rem; line-height: 1.5; }

/* Responsive */
@media (max-width: 980px) { .proc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-panel { max-width: 400px; }
  .chat-mock { margin: 0 auto; }
  .hero .lede { max-width: none; }
  .svc-grid, .work-grid, .pain-grid, .voices-grid { grid-template-columns: 1fr; }
  .hero-quote { left: 0; }
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-avatar { max-width: 220px; margin: 0 auto; }
  .booking-grid { grid-template-columns: 1fr; }
  .booking-summary { position: static; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { gap: 1rem; }
  .nav-toggle { display: flex; }
  .nav--full { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(10,11,13,.97); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); padding: .4rem 0; display: none; box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); }
  .nav--full.open { display: flex; }
  .nav--full a:not(.btn) { display: block; padding: .95rem 28px; font-size: 1.05rem; border-top: 1px solid rgba(255,255,255,.05); }
  .nav--full a.btn { margin: .8rem 28px .5rem; text-align: center; }
  .proc-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.4rem; }
  .scheduler { grid-template-columns: 1fr; }
  .calendar { border-right: none; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
  .timeslots-list { max-height: none; }
  .booking-main { padding: 1.5rem; }
}

/* ===================================================================
   Floating "Ask our A.I." bubble (injected by main.js)
   =================================================================== */
.nav-chat { color: var(--cyan) !important; }
.nav-chat:hover { color: #fff !important; }

.hero-chat-line { font-size: .95rem; color: var(--ink-3); margin: 1.1rem 0 0; }
.hero-chat-line a { color: var(--cyan); text-decoration: none; border-bottom: 1px solid rgba(34, 211, 238, .35); }
.hero-chat-line a:hover { color: #fff; border-bottom-color: #fff; }

.ai-bubble {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: flex; align-items: center; gap: .75rem;
  padding: .55rem 1.25rem .55rem .55rem;
  border-radius: 999px; text-decoration: none;
  background: rgba(21, 24, 29, .92);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: var(--sh-md), 0 0 34px -10px rgba(34, 211, 238, .35);
  opacity: 0; transform: translateY(16px);
  animation: aiBubbleIn .6s var(--ease) .9s forwards;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.ai-bubble::before {
  content: ''; position: absolute; inset: -1.5px; border-radius: inherit;
  background: var(--grad); z-index: -1; opacity: .5;
  transition: opacity .25s var(--ease);
}
.ai-bubble::after { /* solid fill so the gradient reads as a ring */
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: rgba(21, 24, 29, .96); z-index: -1;
}
.ai-bubble:hover { transform: translateY(-3px); box-shadow: var(--sh-md), var(--glow-lime); }
.ai-bubble:hover::before { opacity: 1; }
.ai-bubble:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.ai-bubble-face { position: relative; width: 44px; height: 44px; flex: none; }
.ai-bubble-face img {
  width: 100%; height: 100%; border-radius: 50%; display: block;
  border: 1.5px solid rgba(182, 244, 0, .55); object-fit: cover;
}
.ai-bubble-dot {
  position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--lime); border: 2px solid #15181d;
  animation: aiBubblePulse 2.2s ease-out infinite .9s;
}
.ai-bubble-text { display: flex; flex-direction: column; line-height: 1.25; }
.ai-bubble-text strong { font-family: var(--disp); font-weight: 600; font-size: .96rem; color: #fff; letter-spacing: -0.01em; }
.ai-bubble-text em { font-family: var(--mono); font-style: normal; font-size: .66rem; color: var(--lime); letter-spacing: .02em; }

@keyframes aiBubbleIn { to { opacity: 1; transform: translateY(0); } }
@keyframes aiBubblePulse {
  0% { box-shadow: 0 0 0 0 rgba(182, 244, 0, .5); }
  70% { box-shadow: 0 0 0 9px rgba(182, 244, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(182, 244, 0, 0); }
}

/* In-page chat panel (opened by the bubble; iframe loads on first open) */
.ai-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: min(392px, calc(100vw - 28px));
  height: min(620px, calc(100vh - 44px));
  display: none; flex-direction: column; overflow: hidden;
  background: var(--panel); border-radius: var(--radius);
  box-shadow: var(--sh-lg), 0 0 44px -10px rgba(34, 211, 238, .3);
  opacity: 0; transform: translateY(18px) scale(.97); transform-origin: bottom right;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.ai-panel::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: var(--grad); opacity: .6; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.ai-panel.open { display: flex; }
.ai-panel.in { opacity: 1; transform: translateY(0) scale(1); }

.ai-panel-head {
  display: flex; align-items: center; gap: .7rem; flex: none;
  padding: .7rem .8rem .7rem .9rem;
  background: var(--panel-2); border-bottom: 1px solid var(--line);
}
.ai-panel-head img { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(182,244,0,.55); }
.ai-panel-title { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.ai-panel-title strong { font-family: var(--disp); font-size: .95rem; color: #fff; }
.ai-panel-title em { font-family: var(--mono); font-style: normal; font-size: .64rem; color: var(--lime); }
.ai-panel-full {
  margin-left: auto; font-family: var(--mono); font-size: .68rem; color: var(--ink-3);
  text-decoration: none; white-space: nowrap; padding: .4rem .5rem;
}
.ai-panel-full:hover { color: var(--cyan); }

/* the close button — deliberately BIG and obvious */
.ai-panel-close {
  flex: none; width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(182, 244, 0, .14); border: 1.5px solid rgba(182, 244, 0, .55);
  color: #fff; font-size: 21px; line-height: 1; font-family: var(--sans);
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.ai-panel-close:hover { background: var(--lime); border-color: var(--lime); color: #0a0b0d; transform: scale(1.06); }
.ai-panel-close:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.ai-panel-body { flex: 1; position: relative; background: var(--bg-2); }
.ai-panel-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ai-panel-loading {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: .78rem; color: var(--ink-3);
}

@media (max-width: 600px) {
  .ai-panel { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; }
  .ai-panel::before { display: none; }
  .ai-panel-head { padding-top: max(.7rem, env(safe-area-inset-top)); }
  .ai-panel-close { width: 46px; height: 46px; font-size: 23px; }
  body.ai-panel-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-panel { transition: none; }
}

/* one-time tease card above the bubble */
.ai-tease {
  position: fixed; right: 22px; bottom: 92px; z-index: 80;
  max-width: 240px; padding: .85rem 2.1rem .85rem 1rem; cursor: pointer;
  background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--radius-md);
  box-shadow: var(--sh-md); font-family: var(--mono); font-size: .74rem; color: var(--ink-2);
  opacity: 0; transform: translateY(10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.ai-tease.show { opacity: 1; transform: translateY(0); }
.ai-tease .grad { font-weight: 600; }
.ai-tease-close {
  position: absolute; top: .3rem; right: .45rem; border: 0; background: none;
  color: var(--ink-3); font-size: .95rem; cursor: pointer; padding: .2rem; line-height: 1;
}
.ai-tease-close:hover { color: #fff; }

@media (max-width: 600px) {
  .ai-bubble { right: 14px; bottom: 14px; padding: .45rem; }
  .ai-bubble-text { display: none; }
  .ai-bubble-face { width: 50px; height: 50px; }
  .ai-tease { right: 14px; bottom: 82px; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-bubble { animation: none; opacity: 1; transform: none; }
  .ai-bubble-dot { animation: none; }
}

/* With the extra "Ask our A.I." nav item the full nav gets tight at
   tablet widths — tighten first, then hand over to the hamburger earlier
   than the old 640px. */
@media (max-width: 1180px) {
  .nav { gap: 1.25rem; }
  .nav a:not(.btn) { font-size: .9rem; }
}
@media (max-width: 1000px) {
  .nav-toggle { display: flex; }
  .nav--full { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(10,11,13,.97); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); padding: .4rem 0; display: none; box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); }
  .nav--full.open { display: flex; }
  .nav--full a:not(.btn) { display: block; padding: .95rem 28px; font-size: 1.05rem; border-top: 1px solid rgba(255,255,255,.05); }
  .nav--full a.btn { margin: .8rem 28px .5rem; text-align: center; }
}
