/* TalkingBiz Studio — site styles (design C) */
:root {
  --brand: #4B2BFF;
  --pop: #C8FF5A;
  --ink: #16123A;
  --muted: #4A4766;
  --soft: #F4F2FF;
  --line: #E6E3F5;
  --on-brand-muted: #E6E1FF;
  --on-ink-muted: #CFCBEA;
  --radius: 22px;
  --pad: clamp(20px, 5vw, 40px);
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.55; color: var(--ink); background: #fff; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--pop); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: clamp(64px, 8vw, 100px); }
.h2 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.03em; line-height: 1; }
.eyebrow { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; border-radius: 14px; font-weight: 700; padding: 16px 26px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-pop { background: var(--pop); color: var(--ink); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; }
.btn-ghost-dark { border-color: #4A4766; color: #fff; background: transparent; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 20px; text-decoration: none; letter-spacing: -0.01em; }
.logo .studio { font-weight: 500; opacity: .85; }
.logo svg { flex-shrink: 0; }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: var(--brand); color: #fff; transition: background .2s ease, box-shadow .2s ease, color .2s ease; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.nav a { text-decoration: none; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.nav .btn { padding: 11px 18px; border-radius: 12px; background: #fff; color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255,255,255,.16); color: inherit; align-items: center; justify-content: center; cursor: pointer; }
.header .logo .bubble { fill: #fff; } .header .logo .play { fill: var(--brand); }
.header.scrolled { background: rgba(255,255,255,.95); color: var(--ink); box-shadow: 0 6px 20px rgba(22,18,58,.08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.header.scrolled .wrap { height: 64px; }
.header.scrolled .logo .bubble { fill: var(--brand); } .header.scrolled .logo .play { fill: #fff; }
.header.scrolled .nav .btn { background: var(--brand); color: #fff; }
.header.scrolled .menu-btn { background: var(--soft); }
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .menu-btn { display: inline-flex; }
  .header .logo .studio { display: none; }
  .nav { gap: 8px; }
  .nav .btn { padding: 10px 14px; font-size: 14px; }
}
@media (max-width: 760px) and (min-width: 0) { .header:not(.scrolled) .logo .studio { display: inline; } .header:not(.scrolled) .nav .btn { display: none; } }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: var(--brand); color: #fff; display: none; flex-direction: column; padding: 16px 16px 24px; }
.mobile-menu.open { display: flex; }
.mobile-menu .top { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.mobile-menu .links { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.mobile-menu .links a { font-family: var(--display); font-weight: 700; font-size: 40px; letter-spacing: -0.02em; text-decoration: none; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.mobile-menu .links a:last-child { border-bottom: 0; }
.mobile-menu .bottom { display: flex; flex-direction: column; gap: 12px; text-align: center; color: var(--on-brand-muted); font-size: 14px; }
.mobile-menu .bottom .btn { width: 100%; font-size: 17px; }
.mobile-menu .bottom a:not(.btn) { color: #fff; font-weight: 600; }
.mobile-menu .logo .bubble { fill: #fff; } .mobile-menu .logo .play { fill: var(--brand); }

/* Hero */
.hero { background: var(--brand); color: #fff; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 40px 48px; padding-top: clamp(32px, 6vw, 60px); }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; padding-bottom: clamp(8px, 6vw, 96px); }
.pill { align-self: flex-start; background: rgba(255,255,255,.16); padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.hero h1 { font-size: clamp(42px, 7vw, 84px); line-height: .98; letter-spacing: -0.04em; }
.hero p { font-size: clamp(17px, 2vw, 20px); color: var(--on-brand-muted); max-width: 34rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; align-items: flex-end; gap: 4%; }
.hero-art img { aspect-ratio: 1 / 2; height: auto; object-fit: cover; object-position: top; }
.hero-art img:first-child { width: 42%; max-width: 200px; border-radius: 22px 22px 0 0; }
.hero-art img:last-child { width: 52%; max-width: 250px; border-radius: 26px 26px 0 0; }

/* Stats */
.stats { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 40px; }
.stat { flex: 1 1 120px; background: var(--soft); border-radius: 16px; padding: 18px 20px; }
.stat b { display: block; font-family: var(--display); font-size: 20px; }
.stat span { color: var(--muted); font-size: 14px; }

/* Cards */
.cards { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.card { flex: 1 1 280px; min-width: 0; border: 2px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card .tag { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.card h3 { font-size: 24px; }
.card p { color: var(--muted); }

/* Work */
.work-head { display: flex; flex-direction: column; gap: 10px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.filters button { border: 2px solid var(--line); border-radius: 999px; padding: 8px 16px; background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.work-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.work-item { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; text-align: left; background: none; border: 0; padding: 0; color: var(--ink); cursor: pointer; }
.work-item.featured { grid-column: span 3; }
.work-item[hidden] { display: none; }
.work-thumb { border-radius: var(--radius); padding: 24px 24px 0; display: flex; justify-content: center; overflow: hidden; position: relative; }
.work-item.featured .work-thumb { padding: 32px 32px 0; border-radius: 24px; }
.work-thumb img { width: 100%; max-width: 200px; aspect-ratio: 1 / 1.6; height: auto; object-fit: cover; object-position: top; border-radius: 16px 16px 0 0; transition: transform .25s ease; }
.work-item.featured .work-thumb img { max-width: 260px; border-radius: 20px 20px 0 0; }
.work-item:hover .work-thumb img { transform: translateY(-6px); }
.play-badge { position: absolute; right: 16px; bottom: 16px; width: 52px; height: 52px; border-radius: 999px; background: var(--pop); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.work-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.work-meta h3 { font-size: 20px; }
.work-item.featured .work-meta h3 { font-size: 24px; }
.work-meta span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.work-link { font-weight: 600; color: var(--brand); }
@media (max-width: 900px) { .work-item, .work-item.featured { grid-column: span 3; } }
@media (max-width: 600px) { .work-item, .work-item.featured { grid-column: span 6; } }

/* Process */
.step { flex: 1 1 260px; background: var(--soft); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.step .num { width: 42px; height: 42px; border-radius: 12px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 19px; }
.step h3 { font-size: 22px; }
.step p { color: var(--muted); }

/* Pricing */
.price { flex: 1 1 200px; min-width: 0; border: 2px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.price h3 { font-size: 20px; }
.price .amount { font-family: var(--display); font-size: 48px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.price p { color: var(--muted); }
.price.hl { background: var(--brand); border-color: var(--brand); color: #fff; }
.price.hl p { color: var(--on-brand-muted); }
.price .badge { font-size: 12px; font-weight: 700; background: var(--pop); color: var(--ink); padding: 4px 10px; border-radius: 999px; }
.price .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.price-note { margin-top: 16px; color: var(--muted); font-size: 15px; }

/* About */
.about { background: var(--soft); border-radius: 28px; padding: clamp(24px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: clamp(24px, 4vw, 56px); }
.about-photo { flex: 0 1 300px; min-width: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 96px; font-weight: 700; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about-copy h2 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -0.03em; line-height: 1.05; }
.about-copy p { font-size: 18px; color: var(--muted); max-width: 36rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; }

/* FAQ */
.faq { display: flex; flex-wrap: wrap; gap: 28px 48px; }
.faq .h2 { flex: 1 1 280px; }
.faq-list { flex: 2 1 520px; min-width: 0; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 26px; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* Testimonials */
.quotes { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.quote { flex: 1 1 300px; border: 2px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.quote.featured { flex: 2 1 420px; background: var(--brand); border-color: var(--brand); color: #fff; }
.quote.featured blockquote { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; }
.quote blockquote { margin: 0; font-size: 17px; }
.quote .who { margin-top: auto; display: flex; flex-direction: column; }
.quote .who span { font-size: 14px; color: var(--muted); }
.quote.featured .who span { color: var(--on-brand-muted); }

/* CTA + footer */
.cta { background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(32px, 6vw, 72px) clamp(24px, 5vw, 56px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.cta > div:first-child { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cta h2 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.03em; line-height: 1; }
.cta p { font-size: 18px; color: var(--on-ink-muted); }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; color: #6E6A8F; font-size: 14px; padding-bottom: 36px; }
.footer a { color: #6E6A8F; }

/* Dialogs (video + request) */
dialog { border: 0; padding: 0; max-width: none; max-height: none; color: inherit; }
dialog::backdrop { background: rgba(14, 11, 38, .82); }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; border: 0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }

.player { background: transparent; color: #fff; width: 100%; height: 100%; }
.player[open] { display: flex; align-items: center; justify-content: center; }
.player-inner { display: flex; align-items: center; justify-content: center; gap: 56px; padding: 56px; width: 100%; height: 100%; }
.player .close { position: fixed; top: 24px; right: 24px; background: rgba(255,255,255,.12); color: #fff; z-index: 2; }
.player video { background: #000; border-radius: 26px; box-shadow: 0 40px 120px rgba(0,0,0,.5); }
.player.portrait video { height: min(82vh, 760px); aspect-ratio: 9 / 16; width: auto; }
.player.landscape .player-inner { flex-direction: column; gap: 24px; }
.player.landscape video { width: min(1040px, 92vw); aspect-ratio: 16 / 9; height: auto; border-radius: 20px; }
.player-info { width: 420px; display: flex; flex-direction: column; gap: 18px; }
.player.landscape .player-info { width: min(1040px, 92vw); flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.player.landscape .player-desc, .player.landscape .player-tags, .player.landscape .player-want { display: none; }
.player-kind { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pop); }
.player-title { font-size: 44px; letter-spacing: -0.03em; line-height: 1; }
.player.landscape .player-title { font-size: 32px; }
.player-desc { font-size: 17px; color: var(--on-ink-muted); }
.toggle { display: inline-flex; gap: 3px; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.1); align-self: flex-start; }
.toggle button { border: 0; border-radius: 10px; padding: 10px 18px; background: transparent; color: #fff; font-weight: 600; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.player-tags { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--on-ink-muted); }
.player-tags span { border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 5px 12px; }
.player-want { font-family: var(--display); font-weight: 700; font-size: 22px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.14); }
.player-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.player-nav { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--on-ink-muted); }
.player-nav button { background: none; border: 0; color: #fff; cursor: pointer; font-weight: 600; padding: 8px 0; }
.player-nav button:first-child { color: var(--on-ink-muted); font-weight: 400; }
.player.landscape .player-nav { width: 100%; gap: 24px; padding-top: 4px; border-top: 1px solid rgba(255,255,255,.14); }
@media (max-width: 760px) {
  .player { background: #0E0B26; }
  .player-inner { flex-direction: column; justify-content: flex-start; gap: 14px; padding: 72px 16px 20px; overflow-y: auto; }
  .player .close { top: 14px; right: 14px; }
  .player.portrait video { height: auto; width: min(300px, 78vw); }
  .player.landscape video { width: 100%; }
  .player-info, .player.landscape .player-info { width: 100%; }
  .player-title { font-size: 26px; }
  .player-desc, .player-tags, .player-want, .player-nav span { display: none; }
}

.request { width: 640px; max-width: calc(100vw - 32px); border-radius: 28px; background: #fff; color: var(--ink); box-shadow: 0 40px 120px rgba(0,0,0,.35); }
.request-body { padding: 40px 44px; display: flex; flex-direction: column; gap: 20px; position: relative; }
.request .close { position: absolute; top: 20px; right: 20px; background: var(--soft); color: var(--ink); }
.request h2 { font-size: 34px; letter-spacing: -0.02em; line-height: 1.1; padding-right: 48px; }
.request .intro { color: var(--muted); }
.field-row { display: flex; gap: 14px; }
.field { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; border: 2px solid var(--line); border-radius: 12px; padding: 0 14px; height: 48px; font: 400 16px var(--body); color: var(--ink); background: #fff; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.needs { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.needs legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 8px; }
.needs .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.needs label { position: relative; }
.needs input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.needs .opts span { display: inline-block; border: 2px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 15px; }
.needs .opts input:checked + span { border-color: var(--brand); background: #F0ECFF; color: var(--brand); }
.needs .opts input:focus-visible + span { outline: 3px solid var(--pop); outline-offset: 2px; }
.request-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.request-foot .alt { font-size: 14px; color: var(--muted); }
.request-foot .btn { margin-left: auto; }
.request-foot .alt a { color: var(--brand); font-weight: 600; }
.form-error { color: #B42318; font-size: 14px; }
.done { padding: 48px 44px; display: none; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.request.sent .request-body { display: none; }
.request.sent .done { display: flex; }
.done .tick { width: 72px; height: 72px; border-radius: 999px; background: var(--pop); display: flex; align-items: center; justify-content: center; }
.done p { color: var(--muted); font-size: 17px; max-width: 26rem; }
@media (max-width: 640px) {
  .request { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; }
  .request-body { padding: 18px 16px 96px; gap: 16px; }
  .request h2 { font-size: 24px; }
  .request .close { top: 12px; right: 12px; }
  .field-row { flex-direction: column; }
  .request-foot { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px 16px; background: #fff; border-top: 1px solid var(--line); }
  .request-foot .alt { order: 2; width: 100%; text-align: center; }
  .request-foot .btn { width: 100%; }
  .done { height: 100%; justify-content: center; padding: 24px 16px; }
}

[hidden] { display: none !important; }
