.marketplace-page {
  --paper: #f4ece1;
  --ink: #2c241c;
  --muted: #75695c;
  --line: #d9cebf;
  --market-surface: #faf7f2;
  --market-gold: var(--gold);
  --market-lift: 7px 9px 20px #cbbda644, -6px -6px 16px #fffcf6a6, inset 0 1px 1px #fffaf2;
  background: var(--paper);
  color: var(--ink);
}
.marketplace-page::before { display: none; }
.marketplace-page ::selection { background: #dfc9af; color: var(--ink); }
.marketplace-page .header-inner { border-color: #d9cebf80; }
.marketplace-page .site-header nav a[aria-current="page"] { color: var(--market-gold); }
.marketplace-page :is(a, button, [tabindex]):focus-visible { outline-color: var(--market-gold); outline-offset: 5px; }
.marketplace-page .section-shell { width: min(1320px, calc(100% - 112px)); }
.market-hero { padding-block: 62px 72px; text-align: center; position: relative; perspective: 1000px; }
.market-hero-copy { position: relative; z-index: 1; max-width: 920px; margin-inline: auto; }
.market-hero-mark { width: 112px; height: 112px; margin: 0 auto 24px; color: var(--market-gold); border-radius: 50%; background: var(--market-surface); box-shadow: 8px 8px 22px #cbbda64d, -8px -8px 22px #fffcf6d9; }
.market-hero-mark svg { width: 100%; height: 100%; padding: 6px; }
.market-eyebrow { font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: .17em; text-transform: uppercase; color: var(--muted); }
.market-hero .market-eyebrow { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 24px; letter-spacing: .23em; color: #8c7454; }
.market-hero .market-eyebrow::before, .market-hero .market-eyebrow::after { content: ""; width: 42px; height: 1px; background: linear-gradient(90deg, transparent, #c4a469); }
.market-hero .market-eyebrow::after { transform: rotate(180deg); }
.market-hero h1 { font-size: clamp(68px, 7.4vw, 104px); line-height: .95; letter-spacing: -.045em; text-wrap: balance; }
.market-hero h1 .market-title-accent { display: block; padding-bottom: .09em; margin-top: .03em; font-weight: 500; }
.market-hero h1 em { color: var(--market-gold); }
.market-lede { max-width: 580px; margin: 22px auto 0; color: var(--muted); font-size: 14px; line-height: 1.85; text-wrap: pretty; }
.market-explore { display: inline-flex; align-items: center; gap: 26px; min-height: 50px; margin-top: 26px; padding: 7px 8px 7px 25px; border-radius: 100px; background: var(--market-surface); border: 0; box-shadow: 5px 6px 14px #cbbda645, -4px -4px 12px #fffaf440; font-size: 11px; font-weight: 600; transition: box-shadow .25s, background .25s; }
.market-explore:hover { background: #fffdf9; box-shadow: 6px 7px 16px #cbbda64d, -5px -5px 14px #fffaf44d; }
.market-explore span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #f1e6d4; color: #927039; font-size: 17px; transition: transform .25s; }
.market-explore:hover span { transform: translateY(4px); }
.market-agent-callout { position: relative; display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: center; gap: 44px; width: min(920px, 100%); margin: 48px auto 0; padding: 42px 48px; border: 0; border-radius: 28px; background: var(--market-surface); box-shadow: 12px 14px 28px #c9b79a33, -8px -8px 20px #fffaf433; text-align: left; }
.market-agent-callout-heading { position: relative; padding-right: 30px; border-right: 1px solid #d8c6a66b; }
.market-agent-callout-mark { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border: 1px solid #dbc18c80; border-radius: 50%; background: var(--market-surface); }
.market-agent-callout-mark svg { width: 25px; height: 25px; color: #b58a37; }
.market-agent-callout h2 { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1.08; letter-spacing: -.025em; color: var(--ink); max-width: 10ch; }
.market-agent-callout p { color: #726554; font-size: 13px; line-height: 1.95; max-width: 58ch; text-wrap: pretty; }
.market-catalog { padding-block: 38px 20px; border-top: 1px solid #d9cebf80; scroll-margin-top: 28px; }
.market-section-heading { display: grid; justify-items: center; gap: 16px; margin: 8px auto 42px; text-align: center; }
.market-section-heading .market-eyebrow { margin: 0; font-size: 10px; letter-spacing: .22em; color: #9a7d68; }
.market-section-heading h2 { font-family: var(--serif); font-size: clamp(38px, 4.2vw, 54px); font-weight: 500; line-height: 1.05; letter-spacing: -.032em; max-width: none; width: 100%; }
.market-section-rule { width: 48px; height: 1px; margin-top: 4px; background: linear-gradient(90deg, transparent, var(--market-gold), transparent); }
.market-categories { display: flex; align-items: center; gap: 21px; padding: 5px 3px; }
.market-category { min-width: 0; min-height: 76px; flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 18px 24px; border-radius: 100px; background: var(--market-surface); box-shadow: var(--market-lift); font-size: 19px; line-height: 1.3; transition: background .3s, box-shadow .3s, color .3s, transform .3s; }
.market-category-icon { flex: none; width: 29px; height: 29px; color: var(--market-gold); }
.market-category:hover { background: #f3e8d9; transform: translateY(-2px); }
.market-category[aria-current="true"] { color: var(--market-gold); background: #f3e8d9; transform: translateY(1px); box-shadow: inset 2px 2px 6px #cbbda66b, inset -2px -2px 6px #fffaf2; }
.market-category[aria-current="true"] .market-category-icon { color: var(--market-gold); }
.market-category:active,
.marketplace-page button:active,
.marketplace-page button[aria-pressed="true"],
.marketplace-page button[aria-expanded="true"],
.marketplace-page button[aria-selected="true"] { transform: translateY(1px); box-shadow: inset 2px 2px 6px #cbbda66b, inset -2px -2px 6px #fffaf2; }
.category-connector { display: flex; color: #9a7d68; }
.market-arrow { width: 20px; height: 20px; }
.market-results-heading { display: grid; justify-items: center; gap: 11px; margin: 48px 3px 34px; text-align: center; }
.market-results-ornament { display: flex; align-items: center; gap: 14px; width: min(220px, 55%); color: var(--market-gold); }
.market-results-ornament i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #d9cebf); }
.market-results-ornament i:last-child { background: linear-gradient(90deg, #d9cebf, transparent); }
.market-results-ornament span { width: 7px; height: 7px; border-radius: 50%; background: var(--market-gold); box-shadow: 0 0 0 4px #fac74c24; }
.market-results-heading h3 { font-family: var(--serif); font-size: clamp(34px, 3.4vw, 46px); font-weight: 500; line-height: 1.05; letter-spacing: -.028em; color: var(--ink); }
.market-results-heading > p { max-width: 34ch; color: var(--muted); font-size: 13px; line-height: 1.75; }
/* A single, generous canvas: introduction, connected tools, and outcomes. */
.agent-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.agent-card { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 14px; padding: 30px 52px 24px; border: 1px solid #fffaf280; border-radius: 34px; background: var(--market-surface); box-shadow: 12px 14px 32px #cbbda63d, -9px -9px 26px #fffcf6b3, inset 0 1px 1px #fffaf2; transition: box-shadow .45s ease, border-color .45s ease; }
.agent-card:is(:hover, :focus-within) { border-color: #fac74c73; box-shadow: 12px 14px 32px #cbbda63d, -9px -9px 26px #fffcf6b3, inset 0 1px 1px #fffaf2, 0 0 0 1px #fac74c4d, 0 0 22px #fac74c38, 0 0 48px #fac74c1f; }
.agent-copy { position: relative; min-width: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: center; column-gap: 48px; padding-bottom: 28px; }
.agent-copy::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, #d8c6a6 18%, #c9a45e 50%, #d8c6a6 82%, transparent); opacity: .7; }
.agent-heading { min-width: 0; }
.agent-category { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.agent-category .market-category-icon { width: 18px; height: 18px; }
.agent-copy h3 { font-family: var(--serif); font-size: clamp(30px, 2.5vw, 38px); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; }
.agent-copy h3 .gold-gradient { display: inline; }
.agent-description { align-self: stretch; display: flex; align-items: center; padding-left: 40px; border-left: 1px solid #d8c6a68a; font-size: 15px; color: var(--muted); line-height: 1.8; max-width: 46ch; text-wrap: pretty; }
.agent-link { justify-self: end; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 52px; padding: 12px 24px; border-radius: 100px; background: var(--market-surface); box-shadow: 4px 5px 10px #cbbda64d, -4px -4px 10px #fffaf2, inset 0 1px 1px #fffdf9; color: var(--ink); font-size: 12px; transition: box-shadow .2s, background .2s; }
.agent-link .market-arrow { color: #9b7529; width: 20px; height: 20px; }
.agent-link:active { box-shadow: inset 2px 2px 5px #cbbda66b, inset -2px -2px 5px #fffaf2; }
/* The weave artwork and the benefits share one row; labels, tool names, and benefits sit on the artwork's coordinates. */
.agent-workflow { min-width: 0; display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); }
.weave-stage { position: relative; min-width: 0; width: calc(100% * 610 / 570); }
.weave-art { display: block; width: 100%; height: auto; overflow: visible; color: var(--market-gold); }
.weave-label { position: absolute; top: var(--label-top); margin: 0; transform: translate(-50%, -50%); color: var(--ink); font-family: var(--sans); font-weight: 600; font-size: 12px; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.weave-label-benefits { left: 0; transform: translateY(-50%); }
.weave-tools, .weave-benefits { margin: 0; padding: 0; list-style: none; }
.weave-tools li { position: absolute; left: var(--tool-left); width: 5.94%; min-width: 36px; aspect-ratio: 1; transform: translate(-50%, -50%); }
.weave-tool { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.weave-tool-name { position: absolute; z-index: 2; top: 50%; right: calc(100% + 10px); padding: 6px 13px; border-radius: 100px; background: var(--market-surface); box-shadow: 3px 4px 9px #cbbda65c, -3px -3px 8px #fffdf9, inset 0 1px 1px #fffaf2; color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; visibility: hidden; transform: translateY(-50%); pointer-events: none; }
.weave-tool:is(:hover, :focus-visible, [data-open]) .weave-tool-name { visibility: visible; }
.weave-emblem-art { overflow: visible; }
.weave-emblem .social-satellite { animation: market-orbit 18s linear infinite; }
.weave-emblem .social-pen { animation: market-write 3s ease-in-out infinite; }
.weave-emblem .social-spark { animation: market-spark 3s ease-in-out infinite; }
/* Two alternating photos arrive from the left, settle as posts, then scroll away. */
.weave-emblem .social-post { animation: social-post-feed 8s ease-in-out infinite; transform-origin: 102px 85px; }
.weave-emblem .social-post-two { animation-delay: -4s; }
@keyframes social-post-feed {
  0% { opacity: 0; transform: translate(-60px, -5px) scale(.8); }
  7%, 16% { opacity: 1; transform: translate(-60px, -5px) scale(.8); }
  32%, 45% { opacity: 1; transform: translate(0, 0) scale(1); }
  60% { opacity: 1; transform: translate(0, 45px) scale(1); }
  68%, 100% { opacity: 0; transform: translate(0, 78px) scale(1); }
}
.marketplace-page.motion-paused .social-post-two { display: none; }
@media (prefers-reduced-motion: reduce) { .social-post-two { display: none; } }

.weave-star path:first-child { transition: fill 1.8s ease; }
.weave-star.is-lit path:first-child { fill: #fac74c; }
.weave-outcomes { position: relative; min-width: 0; padding-left: 0; }
.weave-outcomes .weave-label-benefits { left: 24px; }
.weave-benefits { position: absolute; inset: 0; }
.weave-benefit { position: absolute; left: 0; right: 0; max-width: none; transform: translateY(-50%); color: var(--ink); font-size: 14px; line-height: 1.45; text-wrap: pretty; background: linear-gradient(105deg, #8a6a1f 0%, #c4922a 28%, var(--gold) 55%, #e0a830 78%, #b8860b 100%); -webkit-background-clip: text; background-clip: text; transition: color 1.8s ease; }
.weave-benefit.is-lit { color: transparent; }
.social-emblem { width: 100%; height: auto; display: block; filter: drop-shadow(0 10px 12px #cbbda638); }
.social-satellite, .social-orbit { transform-origin: 90px 90px; }
.social-pen { transform-origin: 105px 85px; }
.social-spark { transform-origin: center; transform-box: fill-box; }
.market-empty { text-align: center; padding: 70px 24px; min-height: 350px; border-radius: 28px; background: #f6f0e866; box-shadow: inset 3px 3px 10px #cbbda633, inset -3px -3px 10px #fffaf299; }
.market-empty > .market-category-icon { margin-bottom: 22px; }
.market-empty h3 { font-size: 38px; }
.market-empty p { margin: 16px auto; max-width: 400px; font-size: 12px; color: var(--muted); }
.market-empty a { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; font-size: 12px; color: var(--market-gold); }
.marketplace-page [hidden] { display: none !important; }
.market-no-script { margin-top: 24px; font-size: 12px; color: var(--muted); }
.marketplace-page .site-footer { padding-top: 30px; border-top-color: #d9cebf80; }
@keyframes market-flow { to { stroke-dashoffset: -94; } }
@keyframes market-orbit { to { transform: rotate(360deg); } }
@keyframes market-write { 0%, 100% { transform: translate(0, 0) rotate(0); } 35% { transform: translate(-3px, 2px) rotate(-7deg); } 65% { transform: translate(2px, -2px) rotate(4deg); } }
@keyframes market-spark { 0%, 100% { opacity: .55; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.1); } }
.marketplace-page.motion-paused *, .marketplace-page.motion-paused *::before, .marketplace-page.motion-paused *::after { animation: none !important; }
@media (min-width: 1500px) {
  .market-hero { padding-top: 60px; padding-bottom: 75px; }
}
@media (max-width: 1100px) {
  .marketplace-page .section-shell { width: calc(100% - 64px); }
  .marketplace-page .site-header { height: auto; }
  .marketplace-page .site-header nav { gap: 0; }
  .market-category { min-height: 68px; font-size: 17px; gap: 12px; padding: 16px; }
  .market-categories { gap: 13px; }
  .market-category-icon { width: 25px; height: 25px; }
  .category-connector .market-arrow { width: 16px; }
}
@media (max-width: 600px) {
  .marketplace-page .section-shell { width: calc(100% - 40px); }
  .market-hero { padding-block: 36px 44px; }
  .market-hero-mark { width: 88px; height: 88px; margin-bottom: 27px; }
  .market-hero h1 { font-size: clamp(50px, 12vw, 68px); line-height: .99; }
  .market-hero .market-eyebrow { font-size: 9px; margin-bottom: 18px; }
  .market-lede { max-width: 360px; font-size: 13px; padding-inline: 3px; margin-top: 20px; }
  .market-agent-callout { margin-top: 34px; padding: 30px 26px; border-radius: 24px; gap: 20px; }
  .market-agent-callout-heading { display: flex; align-items: center; gap: 14px; padding: 0 0 20px; border-right: 0; border-bottom: 1px solid #d8c6a66b; }
  .market-agent-callout-mark { flex: none; margin: 0; width: 34px; height: 34px; }
  .market-agent-callout h2 { font-size: 29px; max-width: none; }
  .market-agent-callout p { font-size: 12px; }
  .market-catalog { padding-top: 30px; }
  .market-section-heading { margin: 0 auto 32px; gap: 14px; }
  .market-section-heading h2 { font-size: clamp(34px, 8vw, 44px); max-width: none; text-wrap: balance; }
  .market-section-heading h2 .gold-gradient { display: inline-block; }
  .market-categories { flex-wrap: wrap; gap: 15px; padding-inline: 0; }
  .market-category { flex: 1 1 calc(50% - 15px); min-height: 61px; font-size: 15px; }
  .category-connector { display: none; }
  .market-category-icon { width: 24px; height: 24px; }
  .market-results-heading { margin-block: 36px 26px; gap: 10px; }
  .market-results-heading h3 { font-size: 32px; }
  .market-results-heading > p { font-size: 12px; }
  .market-empty { padding-inline: 20px; }
  .market-empty h3 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .marketplace-page *, .marketplace-page *::before, .marketplace-page *::after { animation: none !important; transition: none !important; }
  .agent-card:is(:hover, :focus-within) { transform: none; }
}
@media print {
  .marketplace-page .section-shell { width: 100%; }
  .market-categories, .agent-card-footer { display: none; }
  .marketplace-page .agent-card[hidden] { display: flex !important; }
  .agent-card { box-shadow: none; border: 1px solid var(--line); break-inside: avoid; }
  .agent-grid { display: block; }
}

/* Study 09 galaxy, displayed at twice its 669px study width. The viewBox stays 800×550.
   Negative margin pulls the spiral up under the CTA; hero copy stays above via z-index. */
.market-constellation { width: min(1338px, 100vw); margin: -140px 0 0; position: relative; z-index: 0; left: 50%; transform: translateX(-50%); pointer-events: none; perspective: 1000px; }
.constellation-horizon { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; }
.constellation-scene { position: relative; z-index: 1; display: block; width: 100%; height: auto; overflow: visible; transform-style: preserve-3d; transform-origin: 50% 48%; will-change: transform; }
@media (max-width: 600px) {
  .market-constellation { margin-top: -64px; }
  .market-constellation + .market-agent-callout { margin-top: 24px; }
}
@media (max-width: 800px) {
  .market-agent-callout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .market-agent-callout-heading { border-right: 0; padding-right: 0; }
  .market-agent-callout h2 { max-width: none; }
}

@media (max-width: 1200px) {
  .agent-card { padding: 30px 40px 24px; }
  .agent-copy { column-gap: 32px; }
  .agent-description { padding-left: 32px; }
  .weave-benefit { font-size: 13px; }
}
@media (max-width: 1000px) {
  .agent-card { row-gap: 14px; padding: 26px 36px 22px; }
  .agent-copy { grid-template-columns: minmax(0, 1fr) auto; row-gap: 22px; padding-bottom: 26px; }
  .agent-copy h3 { font-size: 34px; }
  .agent-description { grid-column: 1 / -1; grid-row: 2; padding-left: 0; border-left: 0; max-width: 60ch; font-size: 13px; }
  .agent-workflow { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .weave-label { font-size: 11px; }
  .weave-benefit { font-size: 12px; line-height: 1.45; }
}
@media (max-width: 800px) {
  .agent-workflow { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .weave-benefit { font-size: 12px; line-height: 1.4; }
}
@media (max-width: 600px) {
  .agent-card { padding: 22px 24px 18px; gap: 14px; border-radius: 28px; }
  .agent-copy { grid-template-columns: minmax(0, 1fr); padding-bottom: 26px; }
  .agent-copy h3 { font-size: 30px; max-width: 14ch; }
  .agent-description { font-size: 12px; }
  .agent-link { justify-self: start; grid-row: 3; }
}
@media (max-width: 900px) {
  .agent-workflow { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  /* Crop the hidden output side and scale the remaining 410 SVG units to fit. */
  .weave-stage { width: 100%; overflow: clip; }
  .weave-art { width: calc(100% * 610 / 410); max-width: none; }
  .weave-emblem-art { transform: scale(1.1); transform-origin: center; transform-box: fill-box; }
  .weave-outgoing, .weave-star, .weave-output-spark { display: none; }
  .weave-tools li { min-width: 0; left: calc(var(--tool-left) * 610 / 410); width: calc(5.94% * 610 / 410); }
  .weave-tool-name { top: 50%; right: auto; left: calc(100% + 6px); transform: translateY(-50%); }
  .weave-outcomes { display: grid; gap: 14px; padding-left: 0; }
  .weave-outcomes .weave-label-benefits { position: static; transform: none; }
  .weave-benefits { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; }
  .weave-benefit { position: static; display: flex; gap: 12px; max-width: none; transform: none; font-size: 14px; line-height: 1.55; }
  .weave-benefit::before { content: ""; flex: none; width: 12px; height: 12px; margin-top: 3px; background: var(--market-gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
}

@media (max-width: 600px) {
  .agent-workflow { row-gap: 24px; }
  .weave-benefits { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .weave-benefit { font-size: 13px; line-height: 1.5; }
}

/* CMS text determines row height; the SVG tracks the measured centers. */
.agent-copy h3, .agent-description, .weave-benefit, .agent-link { overflow-wrap: anywhere; min-width: 0; }
.agent-link { white-space: normal; max-width: 100%; }
.weave-tool-name { white-space: normal; width: max-content; max-width: min(230px, 55vw); }
.tool-alternatives { display: block; margin-top: 5px; font-weight: 400; font-size: 11px; }
@media (min-width: 901px) {
  .weave-benefits { position: relative; display: grid; height: 100%; align-content: space-evenly; gap: 18px; padding-block: 12px; }
  .weave-benefit { position: static; transform: none; }
  .agent-workflow { align-items: center; }
}
.agent-action { transform-origin: 90px 90px; animation: agent-breathe 5s ease-in-out infinite; }
.agent-action > * { animation: agent-ink 5s ease-in-out infinite; }
.agent-action > :nth-child(2) { animation-delay: -.7s; }
.agent-action > :nth-child(3) { animation-delay: -1.4s; }
@keyframes agent-breathe { 0%,100% { transform: translateY(1px); } 50% { transform: translateY(-2px); } }
@keyframes agent-ink { 0%,100% { stroke-opacity: .65; } 45%,75% { stroke-opacity: 1; } }
[data-weave]:not(.weave-running) * { animation: none !important; }
[data-weave]:not(.weave-running) .social-post-two { display: none; }

.agent-search { animation: emblem-search 5s ease-in-out infinite; }
@keyframes emblem-search { 0%,100% { transform: translate(-8px,-4px); } 50% { transform: translate(4px,3px); } }
@keyframes emblem-reveal { 0%,15% { stroke-dashoffset: 180; opacity: .25; } 55%,100% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes emblem-message { 0%,100% { transform: translateY(3px) scale(.97); } 50% { transform: translateY(-5px) scale(1); } }
@keyframes emblem-wave { 0%,100% { transform: scaleY(.6); } 50% { transform: scaleY(1); } }
@keyframes emblem-turn { 0%,20% { transform: rotate(-20deg); } 70%,100% { transform: rotate(20deg); } }
[data-emblem] .agent-action > * { transform-box: fill-box; transform-origin: center; }
[data-emblem="human-sounding-voice-agent"] .agent-action > :last-child { animation: emblem-wave 1.7s ease-in-out infinite; }
[data-emblem="after-hours-booking-agent"] .agent-action > :last-child,
[data-emblem="customer-support-agent"] .agent-action > :last-child,
[data-emblem="quickbooks-agents"] .agent-action > :last-child,
[data-emblem="full-service-chatbot-agent"] .agent-action > :last-child,
[data-emblem="automatic-google-reviews"] .agent-action > :last-child { stroke-dasharray: 180; animation: emblem-reveal 5s ease-in-out infinite; }
[data-emblem="extremely-personal-outreach-agent"] .agent-action > :last-child,
[data-emblem="newsletter-agent"] .agent-action > :last-child,
[data-emblem="client-portal-agents"] .agent-action > :last-child,
[data-emblem="repeat-incentive-agent"] .agent-action > :last-child { animation: emblem-message 5s ease-in-out infinite; }
[data-emblem="daily-follow-up-agent"] .agent-action > :nth-child(2) { animation: emblem-turn 6s ease-in-out infinite; }
[data-emblem="lost-jobs-analytics-agent"] .agent-action { animation: none; }
[data-emblem="lost-jobs-analytics-agent"] .agent-action .jobs-chart-axis { animation: none; }
[data-emblem="lost-jobs-analytics-agent"] .agent-action .jobs-chart-line { stroke-dasharray: 100; stroke-dashoffset: 0; animation: jobs-chart-rise 4.5s ease-in-out infinite; }
[data-emblem="lost-jobs-analytics-agent"] .agent-action .jobs-chart-arrow { animation: jobs-chart-tip 4.5s ease-in-out infinite; }
@keyframes jobs-chart-rise { 0%, 8% { stroke-dashoffset: 100; } 65%, 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: .35; } }
@keyframes jobs-chart-tip { 0%, 48% { opacity: 0; } 65%, 90% { opacity: 1; } 100% { opacity: .35; } }
[data-emblem="lead-qualification-organization"] .agent-action > :first-child { animation: emblem-message 5s ease-in-out infinite; }
[data-emblem="crm-id-data-agent"] .agent-action > :nth-child(n+2) { stroke-dasharray: 180; animation: emblem-reveal 5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .agent-action, .agent-action > *, .agent-search { animation: none !important; } }
.weave-tool-name { right: auto; left: calc(100% + 8px); }
@keyframes review-rating { 0%,15%,100% { fill: transparent; } 35%,75% { fill: #fac74c; } }
[data-emblem="automatic-google-reviews"] .agent-action .review-rating { animation: review-rating 5s ease-in-out infinite; stroke-dasharray: none; }

/* Studio marketplace card: centered title, description, tool pills, medallion, and benefit pills for every agent. */
.agent-card[data-layout="studio"] { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 32px 40px 18px; text-align: center; background: var(--market-surface); border-color: transparent; box-shadow: 12px 14px 28px #c9b79a33, -8px -8px 20px #fffaf433; }
.agent-card[data-layout="studio"]:is(:hover, :focus-within) { border-color: transparent; box-shadow: 12px 14px 28px #c9b79a40, -8px -8px 20px #fffaf440; }
.studio-copy, .studio-stage, .studio-cta { position: relative; z-index: 1; }
.studio-copy { width: min(640px, 100%); }
.studio-eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 10px; color: #8c7454; font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.studio-eyebrow::before, .studio-eyebrow::after { content: ""; width: 36px; height: 1px; background: linear-gradient(90deg, transparent, #c4a469); }
.studio-eyebrow::after { transform: scaleX(-1); }
.studio-eyebrow .market-category-icon { width: 12px; height: 12px; color: #c9953a; fill: currentColor; }
.studio-copy h3 { margin: 0; color: #2a2118; font-family: var(--serif); font-size: clamp(36px, 3.6vw, 48px); font-weight: 500; line-height: 1.02; letter-spacing: -.034em; text-wrap: balance; }
.studio-copy h3 .gold-gradient { font-weight: 500; padding-bottom: .08em; }
.studio-description { max-width: 36em; margin: 10px auto 0; color: #74685c; font-size: 14px; line-height: 1.5; }
.studio-stage { display: grid; grid-template-columns: minmax(0, 1fr) 188px minmax(0, 1fr); align-items: center; width: 100%; column-gap: clamp(48px, 5.5vw, 96px); margin-top: 22px; }
.studio-stage::before { content: ""; position: absolute; left: 50%; top: 50%; width: 240px; height: 240px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, #fac74c33, transparent 66%); pointer-events: none; }
.studio-threads { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; opacity: 0; }
.studio-stage.is-aligned .studio-threads { opacity: 1; transition: opacity .45s ease; }
.studio-glow-line { fill: none; stroke: #fac74c; stroke-width: 8; stroke-linecap: round; opacity: .42; }
.studio-line { fill: none; stroke: #e4bc68; stroke-width: 1.7; stroke-linecap: round; }
.studio-flow-line { fill: none; stroke: #fff7e4; stroke-width: 2.1; stroke-linecap: round; stroke-dasharray: 16 118; animation: studio-flow 4.4s linear infinite; }
.studio-tools, .studio-benefits { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; width: min(320px, 100%); margin: 0; padding: 0; list-style: none; min-width: 0; }
.studio-tools { grid-column: 1; justify-self: start; align-items: stretch; }
.studio-benefits { grid-column: 3; justify-self: end; align-items: stretch; }
.studio-tool, .studio-benefit { display: flex; align-items: center; width: 100%; min-height: 48px; gap: 10px; border: 0; border-radius: 100px; background: var(--market-surface); box-shadow: var(--market-lift); color: var(--ink); line-height: 1.3; text-align: left; text-wrap: pretty; }
.studio-tool { justify-content: center; padding: 7px 16px; font-size: 14px; font-weight: 600; }
.studio-tool img { width: 18px; height: 18px; flex: none; object-fit: contain; }
.studio-benefit { padding: 8px 16px 8px 12px; font-size: 13.5px; font-weight: 500; }
.studio-benefit svg { width: 18px; height: 18px; flex: none; color: var(--market-gold); }
.studio-alt { display: block; margin-top: 1px; color: var(--muted); font-size: 10px; font-weight: 400; }
.studio-hub { position: relative; z-index: 1; grid-column: 2; justify-self: center; display: grid; place-items: center; width: 188px; height: 188px; }
.studio-glow { position: absolute; inset: -6px; border-radius: 50%; background: radial-gradient(circle, #fac74c47, transparent 64%); }
.studio-orbit { position: absolute; inset: 5px; border: 1.5px dotted #d9c09a; border-radius: 50%; }
.studio-spark { position: absolute; left: 50%; z-index: 2; width: 12px; height: 12px; color: #f0c14d; animation: studio-twinkle 3.2s ease-in-out infinite; }
.studio-spark-top { top: 0; transform: translateX(-50%); }
.studio-spark-bottom { bottom: 0; transform: translateX(-50%); animation-delay: -1.4s; }
.studio-medallion { position: relative; display: grid; place-items: center; width: 130px; height: 130px; overflow: hidden; border-radius: 34px; background: linear-gradient(145deg, #fbf6ee, #f1e6d6); box-shadow: 8px 10px 22px #cbbda65c, -8px -8px 20px #fffcf6e0, inset 0 1px 1px #fffdf8; }
.studio-medallion-inset { position: absolute; inset: 8px; z-index: 1; border-radius: 26px; box-shadow: inset 3px 3px 8px #cbbda655, inset -3px -3px 8px #fffaf2; pointer-events: none; }
.studio-emblem { position: absolute; z-index: 0; left: 50%; top: 50%; display: block; width: 194px; height: 194px; color: #b07d2e; filter: none; /* Centered glyphs sit on the medallion center. */ transform: translate(-50%, -50%); }
/* The phone is drawn at (102, 91.5) in its 180 viewBox, so only that emblem shifts. */
.studio-emblem--phone { transform: translate(calc(-50% - 100% * 12 / 180), calc(-50% - 100% * 1.5 / 180)); }
.studio-emblem--mark :is(.agent-action, .social-sheet, .social-pen) { stroke-width: 2.1; }
.studio-emblem--asset { width: 104px; height: 104px; object-fit: contain; }
.studio-phone { filter: drop-shadow(0 8px 10px #cbbda666); }
.studio-phone > rect:first-child { fill: #fffdf8; }
.studio-emblem > .social-orbit, .studio-emblem > .social-satellite, .studio-emblem > circle { display: none; }
.studio-emblem .social-post { transform-origin: 102px 85px; animation: social-post-feed 8s ease-in-out infinite; }
.studio-emblem .social-post-two { animation-delay: -4s; }
.studio-emblem .social-spark { animation: market-spark 3s ease-in-out infinite; }
.studio-cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; margin-top: 18px; padding: 8px 22px; border: 0; border-radius: 100px; background: #f3cf72; color: #4a3414; font-size: 13px; font-weight: 600; box-shadow: 5px 6px 14px #cbbda652, -4px -4px 12px #fffcf6d1, inset 4px 4px 9px #c9962e52, inset -3px -3px 8px #fff6d6; transition: background .3s, box-shadow .3s, color .3s; }
.studio-cta:hover { background: #f6d67e; color: #3d2c14; box-shadow: 6px 7px 16px #cbbda65c, -5px -5px 14px #fffcf6e0, inset 3px 3px 7px #c9962e40, inset -2px -2px 6px #fff8e0; }
.studio-cta:active { background: #ebc45e; box-shadow: inset 5px 5px 10px #b8860b6b, inset -3px -3px 8px #fff1c4; }
.studio-cta .market-arrow { width: 16px; height: 16px; color: #6d5018; }
.agent-overview-details { width: max-content; max-width: 100%; }
.synergy-study[data-case="agent"] .website-grid > figure,
.synergy-study[data-case="agent"] .website-grid > .resource-panel { min-width: 0; }
summary.studio-cta { cursor: pointer; list-style: none; }
summary.studio-cta::-webkit-details-marker { display: none; }
summary.studio-cta::marker { content: none; }
.studio-copy h3 { overflow-wrap: normal; }
.studio-tool, .studio-benefit, .studio-cta { min-width: 0; overflow-wrap: break-word; }
@keyframes studio-flow { to { stroke-dashoffset: -134; } }
@keyframes studio-twinkle { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
@media (max-width: 1000px) {
  .agent-card[data-layout="studio"] { padding: 26px 18px 16px; }
  .studio-copy h3 { font-size: 32px; }
  .studio-description { font-size: 13.5px; }
  .studio-stage { grid-template-columns: minmax(0, 1fr); justify-items: center; width: 100%; margin-top: 18px; row-gap: 12px; }
  .studio-threads { display: none; }
  .studio-tools, .studio-hub, .studio-benefits { grid-column: auto; }
  .studio-tools, .studio-benefits { justify-self: center; align-items: stretch; width: min(100%, 440px); }
  .studio-tool, .studio-benefit { width: 100%; }
  .studio-hub { margin-block: 4px; }
}

/* Typed so the coverflow restyles when a slide's offset changes. */
@property --offset { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --abs { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --glide { syntax: "<length>"; inherits: true; initial-value: 0px; }
/* Example screenshots open as a large 16:9 coverflow. A click shows that image full size. */
.synergy-sheet.synergy-cover:has(.example-gallery) { overflow: visible; padding-left: 24px; padding-right: 24px; }
#project-dialog.synergy-open:has(.example-gallery) { overflow-x: hidden; overflow-y: auto; }
.synergy-cover:has(.example-gallery) .synergy-orbit { display: none; }
.cover-grid.cover-copy { grid-template-columns: minmax(0, 1fr); max-width: 46rem; }
.example-gallery { --spread: 78%; --tilt: -16deg; --depth: -80px; container-type: inline-size; position: relative; z-index: 2; margin: 0 0 28px; outline: none; }
.example-stage { position: relative; height: calc(min(92cqi, 1040px) * 9 / 16 + 24px); perspective: 1800px; perspective-origin: 50% 46%; transform-style: preserve-3d; }
.example-glow { position: absolute; left: 50%; top: 50%; z-index: 0; width: min(84%, 920px); aspect-ratio: 16 / 9; border-radius: 28px; background: radial-gradient(closest-side, #ffe7a8d6, #fac74c3d 46%, transparent 72%); filter: blur(12px); pointer-events: none; transform: translate(calc(-50% + var(--glide, 0px)), -50%); }
.example-slide { position: absolute; left: 50%; top: 50%; width: min(92%, 1040px); aspect-ratio: 16 / 9; margin: 0; border: 0; padding: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: zoom-in; opacity: calc(1 - var(--abs, 0) * .18); transform: translate(-50%, -50%) translateX(calc(var(--offset, 0) * var(--spread))) translateZ(calc(var(--abs, 0) * var(--depth))) rotateY(calc(var(--offset, 0) * var(--tilt))) scale(calc(1 - var(--abs, 0) * .08)); transition: opacity .7s ease; }
.marketplace-page button.example-slide:active { box-shadow: none; }
.example-slide[data-far="true"] { opacity: 0; visibility: hidden; pointer-events: none; }
.example-shade { position: absolute; z-index: 0; inset: 8% 4% -4%; border-radius: 24px; background: transparent; box-shadow: calc(var(--offset, 0) * -22px) 28px 46px #2c24183d, calc(var(--offset, 0) * -10px) 0 36px #fac74c47; pointer-events: none; }
.example-frame { position: relative; z-index: 1; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 18px; border: 1px solid #fffaf2e6; background: #fffdf8; box-shadow: inset 0 1px 0 #fff, 0 18px 36px #2c24181f; }
.example-slide:is(:hover, :focus-visible) .example-frame { box-shadow: inset 0 1px 0 #fff, 0 18px 36px #2c241824, 0 0 0 1px #c9a45e; }
.example-slide img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; background: #fffdf8; }
.example-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 8px; }
.example-nav { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #faf6ee; color: #6d5018; box-shadow: 4px 5px 12px #cbbda64d, -3px -3px 10px #fffaf2, inset 0 1px 0 #fffdf8; cursor: pointer; }
.example-nav:hover { background: #fffdf8; color: #4a3414; }
.example-nav svg { width: 18px; height: 18px; }
.example-count { min-width: 4.5ch; margin: 0; color: #726554; font-size: 13px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.example-lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 76px 28px 28px; background: #14110ee6; backdrop-filter: blur(14px); }
.example-lightbox[hidden] { display: none !important; }
.example-lightbox-close { position: absolute; top: 16px; right: 22px; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 4px; border: 0; background: transparent; color: #f6f1e7; font: inherit; font-size: 12px; letter-spacing: .08em; cursor: pointer; }
.example-lightbox-close span { font-size: 28px; line-height: 1; }
.marketplace-page .example-lightbox-close:active { transform: none; box-shadow: none; }
.example-lightbox img { display: block; width: auto; height: auto; max-width: min(1440px, calc(100vw - 56px)); max-height: calc(100dvh - 112px); object-fit: contain; border-radius: 12px; background: #fffdf8; box-shadow: 0 28px 80px #000a; }
@media (max-width: 720px) {
  .example-gallery { --spread: 34%; --tilt: -12deg; --depth: -40px; }
  .example-lightbox { padding: 68px 14px 16px; }
  .example-lightbox img { max-width: calc(100vw - 28px); max-height: calc(100dvh - 96px); border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .example-slide,
  .example-frame,
  .example-shade,
  .example-slide img,
  .example-glow { transition: none; }
  .example-slide { transform: translate(-50%, -50%); visibility: hidden; }
  .example-slide[data-active="true"] { visibility: visible; opacity: 1; }
  .example-frame,
  .example-shade,
  .example-slide img { transform: none; }
}

/* Agent overview only. Homepage case studies do not use data-case="agent". */
.synergy-study[data-case="agent"] .overview-heading { max-width: 40rem; margin: 18px auto 0; text-align: center; }
.synergy-study[data-case="agent"] .overview-title { margin: 0; font-size: clamp(40px, 6vw, 64px); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; }
.synergy-study[data-case="agent"] .overview-subtitle { max-width: 36em; margin: 14px auto 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.synergy-study[data-case="agent"] .overview-visual { width: min(100%, 920px); margin: 36px auto 0; }
.synergy-study[data-case="agent"] .overview-work { display: flex; flex-direction: column; align-items: center; padding-top: 10px; }
.synergy-study[data-case="agent"] .overview-work .eyebrow { color: var(--gold); }
.synergy-study[data-case="agent"] .overview-steps { width: min(100%, 680px); margin: 12px 0 0; padding: 0; list-style: none; }
.synergy-study[data-case="agent"] .overview-step { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 6px 16px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
.synergy-study[data-case="agent"] .overview-step:last-child { border-bottom: 1px solid var(--line); }
.synergy-study[data-case="agent"] .overview-num { font-family: var(--serif); font-size: 22px; color: var(--gold); letter-spacing: -.03em; }
.synergy-study[data-case="agent"] .overview-step h2 { margin: 0; font-size: 26px; letter-spacing: -.03em; }
.synergy-study[data-case="agent"] .overview-step p { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.synergy-study[data-case="agent"] .overview-close { padding-top: 8px; padding-bottom: 48px; }
.synergy-study[data-case="agent"] .overview-close .synergy-cta { margin-top: 0; padding-top: 28px; border-top: 1px solid var(--line); }

/* Social Media Master: editorial showcase. Other agent overviews retain their layout. */
#project-dialog.synergy-open:has(.social-showcase) { width: min(1280px, calc(100% - 48px)); border-radius: 22px; background: #f4ece1; }
.social-showcase { --paper: #f4ece1; --ink: #2c241c; --muted: #74685b; --line: #d9cebf; background: var(--paper); }
.social-showcase .synergy-toolbar { background: #f4ece1ed; padding: 0 40px; }
.social-showcase .synergy-brand span { color: #74685b; }
.social-showcase .showcase-kicker, .showcase-viewer .showcase-kicker { color: #80613a; font-size: 10px; font-weight: 600; line-height: 1.6; letter-spacing: .16em; text-transform: uppercase; }
.social-showcase .showcase-intro { position: relative; padding: 70px 70px 0; background: radial-gradient(ellipse at 80% 30%, #fff7e6 0, transparent 60%); }
.social-showcase .showcase-intro h1 { max-width: 880px; margin: 24px 0; font-size: clamp(54px, 6.4vw, 88px); line-height: .98; letter-spacing: -.045em; }
.social-showcase .showcase-lead { max-width: 590px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.showcase-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-top: 28px; }
.social-showcase a.showcase-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 50px; padding: 12px 24px; border-radius: 100px; background: #2c241c; color: #fff6e5; font-size: 13px; font-weight: 600; text-decoration: none; box-shadow: 0 8px 20px #2c241c14; transition: background .2s, box-shadow .2s; }
.social-showcase a.showcase-button:hover { background: #59432c; box-shadow: 0 10px 24px #2c241c26; }
.showcase-button span { color: #fac74c; font-size: 20px; }
.showcase-text-button { border: 0; padding: 12px 0; background: transparent; color: #59432c; font: inherit; font-size: 13px; cursor: pointer; }
.showcase-text-button span { margin-left: 12px; }
.showcase-intro-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding: 20px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.showcase-gallery-section { overflow: hidden; padding: 52px 0 40px; background: linear-gradient(#f6f0e8, #eee3d3); }
.social-showcase .showcase-section-heading { max-width: 680px; margin: 0 auto; text-align: center; }
.social-showcase h2 { font-size: clamp(36px, 4vw, 52px); line-height: 1.06; letter-spacing: -.03em; }
.social-showcase .showcase-section-heading h2 { margin: 14px 0; }
.social-showcase .showcase-section-heading > p:not(.showcase-kicker) { max-width: 560px; margin: 0 auto; color: var(--muted); line-height: 1.8; }
.social-showcase .showcase-gallery { --spread: 88%; --tilt: -11deg; --depth: -110px; margin: 20px 0 0; touch-action: pan-y; }
.showcase-gallery .example-stage { height: clamp(260px, 45cqi, 510px); transform: translate3d(var(--pointer-x, 0px), var(--pointer-y, 0px), 0); }
.showcase-gallery .example-slide { width: 72%; aspect-ratio: 16 / 9; }
.showcase-gallery .example-frame { border-radius: 12px; padding: 8px; background: #fffdf8; box-shadow: 0 25px 50px #5f42262b; }
.showcase-gallery .example-slide img { border-radius: 5px; }
.showcase-gallery .example-slide[data-active="false"] { cursor: pointer; filter: saturate(.55); }
.showcase-image-open { position: absolute; bottom: 20px; right: 20px; padding: 7px 14px; border: 1px solid #ffffff55; border-radius: 99px; background: #2c241ce8; color: #fff9ee; font-size: 11px; box-shadow: 0 4px 16px #0002; }
.example-slide[data-active="false"] .showcase-image-open { opacity: 0; }
.showcase-gallery-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 70px 0; }
.showcase-captions { max-width: 520px; min-height: 116px; }
.social-showcase .showcase-example-copy h3 { margin: 8px 0; font-size: 30px; letter-spacing: -.02em; }
.social-showcase .showcase-example-copy > p:last-of-type { color: var(--muted); font-size: 13px; line-height: 1.7; }
.showcase-example-copy[hidden] { display: none; }
.showcase-gallery .example-controls { flex-shrink: 0; gap: 8px; margin: 0; }
.showcase-pagination { display: flex; gap: 2px; }
.showcase-pagination button { width: 34px; height: 44px; border: 0; border-bottom: 1px solid #cdbda5; background: transparent; color: #796a58; font: inherit; font-size: 11px; cursor: pointer; }
.showcase-pagination button[aria-current="true"] { border-bottom: 2px solid #9b773d; color: #2c241c; font-weight: 700; }
.social-showcase .showcase-note, .showcase-viewer .showcase-note { margin-top: 20px; color: #7b6f60; font-size: 11px; line-height: 1.7; }
.showcase-gallery-section > .showcase-note { padding: 0 70px; }
.showcase-capabilities { padding: 64px 60px; }
.showcase-system-labels { display: grid; grid-template-columns: 1fr 1fr 1fr; margin: 40px 0 8px; text-align: center; color: #80613a; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.social-showcase .studio-stage { margin: 0 auto; }
.showcase-capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.showcase-capability-grid > div { border-top: 1px solid var(--line); padding-top: 20px; }
.social-showcase .showcase-capability-grid h3 { margin: 12px 0; font-size: 26px; line-height: 1.1; }
.showcase-capability-grid p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.showcase-workflow { padding: 54px 60px 64px; border-block: 1px solid var(--line); background: #f8f3eb; }
.showcase-workflow ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin: 40px 0 0; list-style: none; }
.showcase-workflow li { position: relative; padding: 0 24px 0 0; border-top: 1px solid #d4bd95; }
.showcase-step-number { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; border: 1px solid #d4bd95; background: #f8f3eb; color: #80613a; font-size: 11px; }
.social-showcase .showcase-workflow h3 { margin: 20px 0 12px; font-size: 32px; }
.showcase-workflow li p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.showcase-review { display: inline-block; margin-top: 16px; padding: 4px 10px; border-radius: 99px; background: #efe2c7; color: #644c27; font-size: 10px; }
.showcase-closing { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 70px; padding: 64px 70px 72px; background: radial-gradient(ellipse at 0 100%, #f3dba94d, transparent 65%); }
.social-showcase .showcase-closing h2 { margin: 18px 0; }
.showcase-closing p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.showcase-closing .showcase-button { margin-top: 26px; }
.showcase-closing ol { margin: 0; padding: 0; list-style: none; }
.showcase-closing li { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.showcase-closing li > span { color: #9b773d; font-size: 12px; padding-top: 4px; }
.social-showcase .showcase-closing h3 { margin-bottom: 8px; font-size: 26px; }
.social-showcase .showcase-closing li p { font-size: 13px; }
/* Expanded examples share the catalog-authored breakdown with the gallery. */
.example-lightbox.showcase-viewer { padding: 76px 28px 28px; background: #241e18ed; color: #2c241c; }
.showcase-viewer .showcase-viewer-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 350px); width: min(1600px, 100%); height: 100%; min-height: 0; border-radius: 18px; overflow: hidden; background: #f6f0e8; }
.showcase-image-pane { display: flex; min-width: 0; min-height: 0; flex-direction: column; background: #e3dbd0; }
.showcase-image-viewport { display: flex; align-items: center; justify-content: center; flex: 1; min-height: 0; overflow: auto; padding: 20px; }
.showcase-viewer .showcase-image-viewport img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 10px 30px #30251a26; flex-shrink: 0; }
.showcase-viewer .showcase-image-viewport[data-zoomed="true"] { display: block; }
.showcase-viewer .showcase-image-viewport[data-zoomed="true"] img { width: 200%; max-width: none; max-height: none; margin: 0; }
.showcase-viewer-controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; padding: 12px; border-top: 1px solid #c9bdad; }
.showcase-viewer-controls button { border: 1px solid #c5b69e; border-radius: 99px; padding: 10px 16px; min-height: 44px; background: #f6f0e8; color: #443524; font: inherit; font-size: 12px; cursor: pointer; }
.showcase-viewer-details { padding: 30px; overflow-y: auto; }
.showcase-viewer-details h2 { font-family: var(--serif); font-size: 36px; font-weight: 500; line-height: 1.05; margin: 16px 0; }
.showcase-viewer-details p, .showcase-viewer-details dd { color: #74685b; font-size: 13px; line-height: 1.8; }
.showcase-viewer-details dl { margin: 28px 0; }
.showcase-viewer-details dt { margin-top: 20px; font-size: 11px; font-weight: 700; color: #59432c; }
.showcase-viewer-details dd { margin: 6px 0 0; }
.showcase-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.showcase-tool { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #ddd1bf; padding: 7px 10px; border-radius: 99px; font-size: 11px; }
.showcase-tool img { width: 18px !important; height: 18px !important; box-shadow: none !important; border-radius: 0 !important; background: transparent !important; }
.showcase-viewer :focus-visible { outline: 2px solid #b78a31; outline-offset: 4px; }
@media (max-width: 1000px) {
  .showcase-gallery-footer { padding-inline: 36px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .showcase-captions { min-height: 100px; }
  .showcase-system-labels { display: none; }
  .social-showcase .studio-stage { margin-top: 28px; }
  .showcase-capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase-closing { gap: 36px; padding-inline: 40px; }
  .showcase-viewer .showcase-viewer-layout { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 700px) {
  #project-dialog.synergy-open:has(.social-showcase) { width: 100%; border-radius: 0; }
  .social-showcase .synergy-toolbar { padding-inline: 20px; }
  .social-showcase .synergy-brand span { display: none; }
  .social-showcase .showcase-intro { padding: 40px 24px 0; }
  .social-showcase .showcase-intro h1 { font-size: clamp(44px, 10vw, 64px); }
  .social-showcase .showcase-lead { font-size: 15px; }
  .showcase-intro-footer { margin-top: 30px; font-size: 9px; }
  .showcase-gallery-section { padding-top: 36px; }
  .social-showcase .showcase-section-heading { padding-inline: 24px; }
  .social-showcase h2 { font-size: 36px; }
  .social-showcase .showcase-gallery { --spread: 95%; --tilt: -8deg; --depth: -40px; }
  .showcase-gallery .example-slide { width: 84%; }
  .showcase-gallery .example-stage { height: 60cqi; min-height: 210px; }
  .showcase-gallery .example-frame { padding: 4px; }
  .showcase-image-open { bottom: 10px; right: 10px; font-size: 9px; padding: 5px 9px; }
  .showcase-gallery-footer { padding: 16px 24px 0; }
  .showcase-gallery .example-controls { width: 100%; justify-content: space-between; }
  .showcase-gallery-section > .showcase-note { padding-inline: 24px; }
  .showcase-capabilities, .showcase-workflow { padding: 40px 24px; }
  .showcase-capabilities .showcase-section-heading, .showcase-workflow .showcase-section-heading { padding: 0; }
  .showcase-capability-grid { gap: 24px 18px; }
  .social-showcase .showcase-capability-grid h3 { font-size: 25px; }
  .showcase-workflow ol { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .showcase-workflow li { padding-right: 18px; }
  .showcase-closing { grid-template-columns: 1fr; gap: 20px; padding: 40px 24px; }
  .example-lightbox.showcase-viewer { padding: 64px 10px 10px; overflow-y: auto; }
  .showcase-viewer .showcase-viewer-layout { display: block; height: 100%; overflow: auto; border-radius: 12px; }
  .showcase-image-pane { height: 55dvh; min-height: 300px; }
  .showcase-image-viewport { padding: 12px; }
  .showcase-viewer-details { overflow: visible; padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .social-showcase *, .showcase-viewer * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .showcase-gallery .example-stage { transform: none; }
  #project-dialog.synergy-open:has(.social-showcase) { scroll-behavior: auto; }
}
.social-showcase :is(h1, h2, h3, p, a, button), .showcase-viewer-details { overflow-wrap: anywhere; }
.social-showcase .showcase-gallery-section { scroll-margin-top: 64px; }
/* Keep the social gallery free of decorative glow and caption spacing. */
.showcase-gallery .example-shade { display: none; }
.showcase-gallery .example-frame,
.showcase-gallery .example-slide:is(:hover, :focus-visible) .example-frame { box-shadow: 0 16px 32px #2c241c18; }
.social-showcase .showcase-gallery-footer { justify-content: center; align-items: center; padding-top: 16px; }

/* Show each asset at its own aspect ratio, without a padded slide card. */
.showcase-gallery .example-slide { display: flex; align-items: center; justify-content: center; }
.showcase-gallery .example-frame,
.showcase-gallery .example-slide:is(:hover, :focus-visible) .example-frame { width: max-content; max-width: 100%; height: auto; padding: 0; border: 0; border-radius: 8px; background: transparent; overflow: visible; box-shadow: none; }
.showcase-gallery .example-slide img { width: auto; height: auto; max-width: 100%; max-height: min(40.5cqi, 510px); border-radius: 8px; background: transparent; box-shadow: 0 14px 30px #2c241c26, 0 3px 8px #2c241c12; }
.showcase-gallery .showcase-image-open { bottom: 12px; right: 12px; max-width: calc(100% - 24px); }
@media (max-width: 700px) {
  .showcase-gallery .example-slide img { max-height: 47.25cqi; }
  .showcase-gallery .showcase-image-open { bottom: 8px; right: 8px; max-width: calc(100% - 16px); }
}

/* Match the phone emblem's ivory surfaces and restrained gold accents. */
.studio-emblem--mark { color: #b07d2e; }
.studio-emblem--mark :is(.agent-action, .social-sheet, .social-pen, .agent-search) { filter: drop-shadow(0 5px 7px #cbbda64d); }
.studio-emblem--mark .agent-action > rect { fill: #fffdf8; }
.studio-emblem--mark .agent-action > circle { fill: #f4d896; }
.studio-emblem--mark .agent-action > rect ~ rect { fill: #f4d896; }
.studio-emblem--mark .social-sheet > rect { fill: #fffdf8; }
.studio-emblem--mark .social-pen > path:first-child { fill: #f0c56b; }
.studio-emblem--mark .agent-search > circle { fill: #fffdf8; }
.studio-emblem--mark .review-rating { fill: #f0c56b; }
.studio-emblem--mark[data-emblem="extremely-personal-outreach-agent"] .agent-action > path:first-child,
.studio-emblem--mark[data-emblem="human-sounding-voice-agent"] .agent-action > path:first-child,
.studio-emblem--mark[data-emblem="newsletter-agent"] .agent-action > path:first-child { fill: #fffdf8; }
.studio-emblem--mark[data-emblem="extremely-personal-outreach-agent"] .agent-action > path:last-child,
.studio-emblem--mark[data-emblem="customer-support-agent"] .agent-action > path:last-child,
.studio-emblem--mark[data-emblem="repeat-incentive-agent"] .agent-action > path { fill: #f4d896; }
.studio-emblem--mark[data-emblem="newsletter-agent"] .agent-action > path:nth-child(2) { fill: #f4d896; }

/* Keep the three Drive bands together so the logo stays recognizable in motion. */
[data-emblem="google-drive-agents"] .agent-action.drive-logo { animation: drive-logo-lift 5s ease-in-out infinite; }
[data-emblem="google-drive-agents"] .agent-action.drive-logo > path { animation: none; }
@keyframes drive-logo-lift { 0%, 100% { transform: translate(18px, 14px) scale(.8); } 50% { transform: translate(18px, 11px) scale(.8); } }
@media (prefers-reduced-motion: reduce) {
  [data-emblem="google-drive-agents"] .agent-action.drive-logo { animation: none !important; }
}

/* Customer follow-up: a customer record, a new message, and confirmation. */
[data-emblem="customer-follow-up"] .followup-composition { animation: none; }
[data-emblem="customer-follow-up"] .followup-composition > g { animation: none; }
[data-emblem="customer-follow-up"] .followup-card { filter: drop-shadow(0 5px 5px #cbbda64d); }
[data-emblem="customer-follow-up"] .followup-composition > .followup-message { animation: followup-message-arrive 5.5s cubic-bezier(.22,.8,.2,1) infinite; filter: drop-shadow(0 4px 5px #b68b3c38); }
[data-emblem="customer-follow-up"] .followup-composition > .followup-confirmation { animation: followup-confirm 5.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes followup-message-arrive { 0%, 100% { transform: translate(3px, 5px); opacity: .65; } 22%, 82% { transform: translate(0, 0); opacity: 1; } }
@keyframes followup-confirm { 0%, 15%, 100% { transform: scale(.85); opacity: .45; } 32%, 82% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  [data-emblem="customer-follow-up"] .followup-composition > g { animation: none !important; }
}
