/* ============================================================
   Toy Dinosaur — Brand Work pages
   Restyled from the original studio layout into the Toy Dinosaur
   green/black system (Inter + JetBrains Mono). All rules scoped
   under .bw so the shared site header/footer (styles.css) are
   never affected.
   Palette:  emerald #10b981 · signal green #00ff41 · black #000
   ============================================================ */

.bw { background: #000; color: #fff; font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.6; overflow-x: hidden; }
.bw ::selection { background: rgba(16,185,129,0.3); color: #fff; }
.bw a { color: inherit; }
.bw img, .bw video { display: block; }

/* ===== LANDING HERO ===== */
.bw .b-hero { padding: 130px 32px 60px; text-align: center; position: relative; overflow: hidden; }
.bw .b-hero-glow { position: absolute; top: 20%; left: 50%; transform: translate(-50%,-50%); width: 760px; height: 760px; background: radial-gradient(circle, rgba(16,185,129,0.14) 0%, rgba(0,255,65,0.05) 42%, transparent 70%); pointer-events: none; }
.bw .b-hero-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.bw .b-hero h1 { font-family: 'Inter', sans-serif; font-size: clamp(2.4rem, 7vw, 4.6rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 22px; }
.bw .b-hero p { font-size: 1.12rem; color: rgba(255,255,255,0.55); max-width: 640px; margin: 0 auto; line-height: 1.75; }

/* ===== BADGES ===== */
.bw .b-badge, .bw .tool-hero-badge { display: inline-block; padding: 7px 20px; border-radius: 100px; border: 1px solid rgba(16,185,129,0.35); background: rgba(16,185,129,0.08); margin-bottom: 28px; }
.bw .b-badge span, .bw .tool-hero-badge span { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 600; color: #00ff41; text-transform: uppercase; letter-spacing: 2.5px; }
.bw .section-badge { display: inline-block; padding: 5px 16px; border-radius: 100px; border: 1px solid rgba(16,185,129,0.3); background: rgba(16,185,129,0.06); margin-bottom: 18px; }
.bw .section-badge span { font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; font-weight: 600; color: #00ff41; text-transform: uppercase; letter-spacing: 2.5px; }

/* gradient text helper */
.bw .grad, .bw .b-hero h1 span, .bw .section-title em, .bw .tool-cta h2 em, .bw .b-cta h2 span, .bw .tool-hero h1 span { background: linear-gradient(135deg, #00ff41, #10b981); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-style: normal; }

/* ===== BRAND GRID ===== */
.bw .b-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.bw .b-grid-section { padding: 40px 0 100px; }
.bw .b-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.bw .b-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.02); text-decoration: none; color: inherit; transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease; }
.bw .b-card:hover { transform: translateY(-6px); border-color: rgba(16,185,129,0.4); box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.bw .b-card-visual { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.bw .b-card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.bw .b-card:hover .b-card-visual img { transform: scale(1.04); }
.bw .b-card-body { padding: 28px 30px 32px; flex: 1; display: flex; flex-direction: column; }
.bw .b-card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.bw .b-tag { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.02); padding: 4px 11px; border-radius: 100px; }
.bw .b-card-body h2 { font-family: 'Inter', sans-serif; font-size: 1.55rem; font-weight: 800; color: #fff; margin: 0 0 8px; letter-spacing: -0.02em; }
.bw .b-card-sizzle { font-family: 'JetBrains Mono', monospace; font-size: 0.74rem; font-weight: 600; color: #00ff41; margin-bottom: 14px; letter-spacing: 0.02em; }
.bw .b-card-body p { font-size: 0.92rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin: 0 0 20px; }
.bw .b-card-link { margin-top: auto; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.92rem; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.bw .b-card-link span { color: #00ff41; transition: transform 0.3s ease; }
.bw .b-card:hover .b-card-link span { transform: translateX(4px); }
.bw .b-soon { display: flex; align-items: center; justify-content: center; text-align: center; border: 1px dashed rgba(255,255,255,0.14); border-radius: 20px; padding: 48px 30px; background: rgba(255,255,255,0.015); min-height: 220px; }
.bw .b-soon-inner h3 { font-family: 'Inter', sans-serif; font-size: 1.2rem; font-weight: 800; color: rgba(255,255,255,0.85); margin: 0 0 8px; }
.bw .b-soon-inner p { font-size: 0.88rem; color: rgba(255,255,255,0.4); margin: 0 0 18px; line-height: 1.6; }
.bw .b-soon-inner a { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.88rem; color: #00ff41; text-decoration: none; }
.bw .b-soon-inner a:hover { text-decoration: underline; }

/* ===== DEEP-PAGE HERO ===== */
.bw .tool-hero { position: relative; min-height: 92vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 140px 32px 100px; }
.bw .tool-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0.35; filter: brightness(0.9) saturate(1.05); }
.bw .tool-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,10,4,0.7) 50%, #000 100%); z-index: 2; }
.bw .tool-hero-glow { position: absolute; top: 35%; left: 50%; transform: translate(-50%,-50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(16,185,129,0.12) 0%, rgba(0,255,65,0.05) 40%, transparent 70%); pointer-events: none; z-index: 2; }
.bw .tool-hero-content { position: relative; z-index: 10; text-align: center; max-width: 820px; }
.bw .tool-hero h1 { font-family: 'Inter', sans-serif; font-size: clamp(3rem, 8vw, 6rem); font-weight: 900; line-height: 1.0; letter-spacing: -0.04em; margin-bottom: 28px; }
.bw .tool-hero h1 span { background: linear-gradient(135deg, #ffffff 0%, #10b981 55%, #00ff41 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.bw .tool-hero-desc { font-size: 1.15rem; color: rgba(255,255,255,0.55); max-width: 640px; margin: 0 auto 20px; line-height: 1.75; }
.bw .tool-hero-byline { font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; color: #00ff41; letter-spacing: 0.06em; margin: 0 auto 20px; }
.bw .tool-hero-subdesc { font-size: 0.92rem; color: rgba(255,255,255,0.32); max-width: 520px; margin: 0 auto 44px; line-height: 1.7; font-family: 'JetBrains Mono', monospace; }

/* ===== STATS ===== */
.bw .tool-stats { padding: 0 32px 80px; position: relative; z-index: 2; }
.bw .tool-stats-inner { max-width: 1200px; margin: 0 auto; }
.bw .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bw .stat-card { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); background: rgba(255,255,255,0.02); backdrop-filter: blur(16px); padding: 32px 24px; text-align: center; transition: all 0.4s ease; }
.bw .stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #00ff41, #10b981, transparent); opacity: 0; transition: opacity 0.4s; }
.bw .stat-card:hover { border-color: rgba(16,185,129,0.2); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.bw .stat-card:hover::before { opacity: 1; }
.bw .stat-value { font-family: 'Inter', sans-serif; font-size: 1.7rem; font-weight: 800; background: linear-gradient(135deg, #fff, #10b981, #00ff41); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 6px; }
.bw .stat-label { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: rgba(255,255,255,0.35); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; }

/* ===== SHOWCASE ===== */
.bw .tool-showcase { padding: 40px 32px 100px; position: relative; }
.bw .tool-showcase-inner { max-width: 1100px; margin: 0 auto; }
.bw .showcase-frame { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 120px rgba(16,185,129,0.07); }
.bw .showcase-frame::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #00ff41, #10b981, transparent); z-index: 2; }
.bw .showcase-frame img, .bw .showcase-frame video { width: 100%; height: auto; display: block; }

/* ===== SHARED SECTION HEADINGS ===== */
.bw .section-title { font-family: 'Inter', sans-serif; font-size: clamp(1.6rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; color: #fff; margin-bottom: 12px; }
.bw .section-desc { font-size: 0.95rem; color: rgba(255,255,255,0.4); max-width: 560px; line-height: 1.65; margin: 0 auto; }

/* ===== EXPERIENCE SPLIT ===== */
.bw .tool-experience { padding: 100px 32px; position: relative; }
.bw .tool-experience-inner { max-width: 1200px; margin: 0 auto; }
.bw .experience-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 48px; }
.bw .experience-visual { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); }
.bw .experience-visual img { width: 100%; height: auto; display: block; }
.bw .experience-visual.pad { background: #0b0b0b; display: flex; align-items: center; justify-content: center; padding: 48px; }
.bw .experience-visual.pad img { max-width: 320px; }
.bw .experience-visual::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #00ff41, #10b981, transparent); z-index: 2; }
.bw .experience-text h3 { font-family: 'Inter', sans-serif; font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 20px; letter-spacing: -0.02em; }
.bw .experience-text p { font-size: 0.95rem; color: rgba(255,255,255,0.45); line-height: 1.8; margin-bottom: 16px; }
.bw .experience-text strong { color: #fff; }
.bw .experience-quote { border-left: 3px solid rgba(16,185,129,0.5); padding: 16px 20px; background: rgba(16,185,129,0.05); border-radius: 0 12px 12px 0; margin-top: 24px; }
.bw .experience-quote p { font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.7; font-style: italic; margin: 0; }

/* ===== SYSTEM / GRID ===== */
.bw .tool-tech { padding: 100px 32px; position: relative; }
.bw .tool-tech::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; }
.bw .tool-tech-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.bw .tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.bw .tech-card { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); background: rgba(255,255,255,0.02); backdrop-filter: blur(16px); padding: 32px 24px; transition: all 0.4s ease; }
.bw .tech-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #00ff41, #10b981, transparent); opacity: 0; transition: opacity 0.4s; }
.bw .tech-card:hover { border-color: rgba(16,185,129,0.2); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.bw .tech-card:hover::before { opacity: 1; }
.bw .tech-card-label { font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; font-weight: 600; color: #00ff41; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.bw .tech-card h3 { font-family: 'Inter', sans-serif; font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.bw .tech-card p { font-size: 0.85rem; color: rgba(255,255,255,0.38); line-height: 1.7; }
.bw .tech-card.quote p { font-family: 'JetBrains Mono', monospace; font-style: italic; color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* ===== CTA ===== */
.bw .tool-cta { position: relative; padding: 120px 32px; overflow: hidden; text-align: center; }
.bw .tool-cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0.12; }
.bw .tool-cta-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, #000 0%, rgba(0,10,4,0.5) 50%, #000 100%); z-index: 2; }
.bw .tool-cta-content { position: relative; z-index: 10; }
.bw .tool-cta h2 { font-family: 'Inter', sans-serif; font-size: clamp(1.4rem, 3.5vw, 2.4rem); font-weight: 800; color: #fff; margin-bottom: 16px; letter-spacing: -0.02em; }
.bw .tool-cta-desc { font-size: 0.95rem; color: rgba(255,255,255,0.4); max-width: 460px; margin: 0 auto 28px; line-height: 1.65; }
.bw .tool-cta-btn, .bw .b-cta-btn { display: inline-flex; align-items: center; gap: 10px; padding: 18px 40px; background: linear-gradient(135deg, #10b981, #059669); color: #001b10; text-decoration: none; font-family: 'Inter', sans-serif; font-weight: 800; font-size: 1rem; border-radius: 14px; transition: all 0.4s ease; box-shadow: 0 4px 30px rgba(16,185,129,0.3); border: 1px solid rgba(0,255,65,0.25); }
.bw .tool-cta-btn:hover, .bw .b-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 50px rgba(16,185,129,0.5); }

/* ===== LANDING CTA BLOCK ===== */
.bw .b-cta { text-align: center; padding: 90px 32px 110px; border-top: 1px solid rgba(255,255,255,0.06); }
.bw .b-cta h2 { font-family: 'Inter', sans-serif; font-size: clamp(1.5rem, 3.5vw, 2.4rem); font-weight: 800; color: #fff; margin-bottom: 14px; letter-spacing: -0.02em; }
.bw .b-cta p { font-size: 0.98rem; color: rgba(255,255,255,0.5); max-width: 520px; margin: 0 auto 28px; line-height: 1.65; }

/* ===== SCROLL REVEAL ===== */
.bw .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.bw .reveal.visible { opacity: 1; transform: translateY(0); }
.bw .reveal-d1 { transition-delay: 0.08s; }
.bw .reveal-d2 { transition-delay: 0.16s; }
.bw .reveal-d3 { transition-delay: 0.24s; }
.bw .reveal-d4 { transition-delay: 0.32s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .bw .b-grid { grid-template-columns: 1fr; gap: 16px; }
    .bw .b-hero { padding: 110px 20px 40px; }
    .bw .b-wrap { padding: 0 20px; }
    .bw .tool-hero { min-height: 80vh; padding: 110px 20px 70px; }
    .bw .tool-hero h1 { font-size: clamp(2.2rem, 10vw, 3.5rem); }
    .bw .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .bw .stat-value { font-size: 1.3rem; }
    .bw .stat-card { padding: 24px 16px; }
    .bw .tool-showcase { padding: 20px 20px 60px; }
    .bw .experience-split { grid-template-columns: 1fr; gap: 32px; }
    .bw .tech-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .bw .tech-card { padding: 24px 18px; }
    .bw .tool-experience, .bw .tool-tech { padding: 60px 20px; }
    .bw .tool-cta { padding: 80px 20px; }
}
@media (max-width: 480px) {
    .bw .tool-hero h1 { font-size: 2.2rem; }
    .bw .tech-grid { grid-template-columns: 1fr; }
}
