.studio-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: 36px; text-align: left; }
.studio-hero-copy { min-width: 0; }
.studio-hero .family-eyebrow { justify-content: start; }
.studio-hero .family-lead { margin-inline: 0; max-width: 570px; }
.studio-hero .family-actions { margin-left: 0; }
.studio-hero .family-actions > :only-child { justify-self: start; }
.studio-workspace { position: relative; display: grid; place-items: center; min-height: 338px; isolation: isolate; }
.studio-workspace::before { content: ""; position: absolute; inset: 3%; border-radius: 50%; background: radial-gradient(ellipse, color-mix(in srgb, var(--family-accent) 11%, transparent), transparent 68%); }
.studio-workspace-orbit { position: absolute; width: 306px; height: 306px; border: 1px solid color-mix(in srgb, var(--family-accent) 16%, transparent); border-radius: 50%; }
.studio-workspace-orbit::after { content: ""; position: absolute; inset: 28px; border: 1px dashed color-mix(in srgb, var(--family-muted) 18%, transparent); border-radius: inherit; }
.studio-workspace-tile { position: absolute; width: 160px; height: 160px; border: 1px solid var(--family-line); border-radius: 28px; background: var(--family-panel); box-shadow: 0 16px 40px #00000008; }
.studio-workspace-tile-back { transform: translate(54px, -34px) rotate(18deg); background: var(--family-accent-soft); }
.studio-workspace-tile-front { transform: translate(-47px, 36px) rotate(-14deg); }
.studio-workspace > img { position: relative; width: 208px; height: 208px; filter: drop-shadow(0 20px 22px #00000020); }
.studio-workspace-pixel { position: absolute; top: 33px; right: 58px; width: 18px; height: 18px; border: 1px solid color-mix(in srgb, var(--family-accent) 40%, var(--family-panel)); border-radius: 6px; background: var(--family-accent-soft); transform: rotate(12deg); }
.studio-workspace-caption { position: absolute; bottom: 0; color: var(--family-muted); font-size: var(--type-caption); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project-card {
  --project-color: light-dark(#385f99, #a4bee5);
  --project-wash: light-dark(#e7edf6, #232d39);
  --project-paper: light-dark(#fafcff, #303e50);
  --project-edge: light-dark(#cbd7e8, #43536a);
  display: flex; flex-direction: column; min-width: 0;
  border: 1px solid var(--family-line); border-radius: var(--family-radius);
  background: var(--family-panel); overflow: hidden;
  transition: border-color .22s, box-shadow .22s;
}
.project-card:focus-within { border-color: color-mix(in srgb, var(--project-color) 55%, var(--family-line)); }
.project-card[data-product="tagflow"] {
  --project-color: light-dark(#41634a, #afc8a1);
  --project-wash: light-dark(#e6ecdf, #2a3227);
  --project-paper: light-dark(#fbfcf8, #374231);
  --project-edge: light-dark(#c9d4c1, #4c5b43);
}
.project-heading { display: flex; gap: 14px; align-items: center; padding: 28px 30px 22px; }
.project-heading .studio-project-mark { width: 48px; height: 48px; flex: 0 0 48px; margin: 0; padding: 0; background: none; }
.project-heading img { display: block; width: 48px; height: 48px; }
.project-heading p { font-size: var(--type-caption); color: var(--family-muted); margin-top: 3px; }
.project-art { position: relative; height: 276px; margin: 0 18px; border: 1px solid color-mix(in srgb, var(--project-color) 14%, transparent); border-radius: 18px; overflow: hidden; color: var(--project-color); background: radial-gradient(ellipse at 65% 36%, color-mix(in srgb, var(--project-color) 12%, transparent), transparent 70%), var(--project-wash); }
.project-art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, currentColor .7px, transparent .9px); background-size: 20px 20px; opacity: .09; mask-image: linear-gradient(transparent, #000); pointer-events: none; }
.project-art-label { position: absolute; top: 15px; left: 18px; display: inline-flex; align-items: center; gap: 7px; font-size: var(--type-caption); }
.project-art-label i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.project-art-caption { position: absolute; bottom: 16px; width: 100%; padding: 0 12px; text-align: center; font-size: var(--type-caption); color: var(--project-color); }
.project-editor { position: absolute; width: 244px; top: 55px; left: 7%; background: var(--project-paper); border: 1px solid var(--project-edge); border-radius: 12px; transform: rotate(-4deg); box-shadow: 0 14px 25px #0000000a; overflow: hidden; transition: transform .35s; }
.project-editor-bar { display: flex; align-items: center; gap: 4px; height: 28px; padding: 0 12px; border-bottom: 1px solid var(--project-edge); }
.project-editor-bar i { width: 4px; height: 4px; background: var(--project-color); opacity: .4; border-radius: 50%; }
.project-editor-bar span { margin-left: auto; font-size: var(--type-caption); }
.project-editor code { display: block; padding: 12px 16px 8px; color: var(--family-muted); font: 400 var(--type-code)/1.8 ui-monospace, Consolas, monospace; }
.project-editor code b { font-weight: 400; color: var(--project-color); }
.project-editor-foot { display: block; font-size: var(--type-caption); padding: 0 16px 12px; opacity: .8; }
.project-link-line { position: absolute; width: 150px; height: 70px; top: 113px; left: 44%; opacity: .55; }
.project-secure-file { position: absolute; top: 62px; right: 11%; width: 100px; transform: rotate(6deg); filter: drop-shadow(0 12px 12px #00000012); transition: transform .35s; }
.project-secure-file svg { display: block; width: 100px; height: 124px; }
.project-secure-file > span { display: block; margin-top: 8px; text-align: center; font: 500 var(--type-caption)/1.5 var(--family-font); }
.project-byte-strip { position: absolute; right: 6%; top: 183px; display: flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid var(--project-edge); border-radius: 10px; background: var(--project-paper); box-shadow: 0 8px 20px #0000000a; transform: rotate(3deg); transition: transform .35s; }
.project-byte-strip span { font: var(--type-caption)/1.2 ui-monospace, Consolas, monospace; opacity: .8; }
.project-byte-strip svg { width: 14px; height: 14px; }
.project-paper { position: absolute; width: 174px; height: 169px; padding: 14px 18px; border: 1px solid var(--project-edge); border-radius: 12px; background: var(--project-paper); box-shadow: 0 14px 25px #0000000a; }
.project-template { top: 54px; left: 10%; transform: rotate(-8deg); transition: transform .35s; }
.project-result { top: 62px; right: 10%; transform: rotate(6deg); transition: transform .35s; }
.project-merge { position: absolute; left: calc(50% - 17px); top: 124px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--project-edge); border-radius: 50%; background: var(--project-paper); box-shadow: 0 4px 12px #0000000b; }
.project-merge svg { width: 19px; height: 19px; }
.project-paper-type { display: block; font-size: var(--type-caption); margin-bottom: 14px; }
.project-paper-line { display: block; width: 100%; height: 3px; border-radius: 2px; margin: 7px 0; background: currentColor; opacity: .16; }
.project-paper-line.short { width: 62%; margin-bottom: 12px; }
.project-paper code, .project-paper strong, .project-result > span:not(.project-paper-type) { display: block; font-size: var(--type-caption); line-height: 1.8; }
.project-template code { color: var(--project-color); font-family: ui-monospace, Consolas, monospace; }
.project-result strong { font-weight: 550; }
.project-ready { position: absolute; right: -12px; bottom: 10px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--project-color); color: var(--project-wash); border: 3px solid var(--project-wash); }
.project-ready svg { width: 16px; height: 16px; }
.project-copy { padding: 24px 30px 0; flex: 1; }
.project-copy > p { color: var(--family-muted); }
.project-features { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; font-size: var(--type-caption); color: var(--project-color); }
.project-features span { display: flex; align-items: center; gap: 7px; }
.project-features span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .65; }
.project-card-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 24px; padding: 0 30px 28px; }
.project-primary { border-color: transparent; background: var(--project-wash); color: var(--project-color); }
.project-primary:hover { background: color-mix(in srgb, var(--project-wash), var(--project-color) 12%); }
.project-secondary { color: var(--family-muted); text-decoration: none; font-size: var(--type-caption); }
.project-secondary:hover { color: var(--project-color); text-decoration: underline; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .project-card:hover { border-color: color-mix(in srgb, var(--project-color) 45%, var(--family-line)); box-shadow: 0 14px 42px #0000000e; }
  .project-card:hover .project-editor { transform: translate(-2px, -3px) rotate(-2deg); }
  .project-card:hover .project-secure-file { transform: translate(2px, -5px) rotate(3deg); }
  .project-card:hover .project-byte-strip { transform: translateY(-3px) rotate(0); }
  .project-card:hover .project-template { transform: translateX(-4px) rotate(-5deg); }
  .project-card:hover .project-result { transform: translate(4px, -3px) rotate(3deg); }
}
@media (max-width: 1000px) and (min-width: 761px) {
  .project-heading, .project-copy { padding-inline: 22px; }
  .project-card-footer { padding-inline: 22px; }
  .project-editor { left: 5%; width: 220px; }
  .project-secure-file { right: 6%; width: 84px; }
  .project-secure-file svg { width: 84px; }
  .project-template { left: 6%; }
  .project-result { right: 6%; }
}
@media (max-width: 760px) {
  .studio-hero { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .studio-hero .family-eyebrow { justify-content: center; }
  .studio-hero .family-lead, .studio-hero .family-actions { margin-inline: auto; }
  .studio-hero .family-actions > :only-child { justify-self: center; }
  .studio-workspace { display: none; }
  .project-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .project-heading { padding: 22px 20px 18px; }
  .project-art { margin-inline: 12px; height: 286px; }
  .project-editor { left: 14px; width: 214px; top: 50px; }
  .project-editor code { padding-left: 12px; font-size: var(--type-caption); }
  .project-secure-file { right: 14px; top: 85px; width: 74px; }
  .project-secure-file svg { width: 74px; height: 92px; }
  .project-link-line { display: none; }
  .project-byte-strip { right: 12px; top: 181px; padding: 6px 8px; }
  .project-template { left: 16px; width: 156px; top: 49px; }
  .project-result { right: 16px; width: 156px; top: 62px; }
  .project-copy { padding: 22px 20px 0; }
  .project-card-footer { padding: 0 20px 24px; }
  .project-art-caption { font-size: var(--type-caption); }
}
@media (prefers-reduced-motion: reduce) {
  .project-card, .project-editor, .project-secure-file, .project-byte-strip, .project-template, .project-result { transition: none; }
}
